Class Connection

java.lang.Object
java.lang.Thread
com.arjuna.ats.internal.arjuna.recovery.Connection
All Implemented Interfaces:
Runnable

public class Connection extends Thread
  • Constructor Details

    • Connection

      public Connection(Socket server_socket, Service service)
      Takes socket and service to execute.
    • Connection

      public Connection(Socket server_socket, Service service, Connection.Callback callback)
      Takes socket and service to execute and a callback to run when processing of the connection has completed
  • Method Details

    • run

      public void run()
      Obtains input and output streams and executes work required by the service.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread