Class CreateSessionCommandCallback

java.lang.Object
org.serviceconnector.cmd.sc.CreateSessionCommandCallback
All Implemented Interfaces:
ISCMPMessageCallback

public class CreateSessionCommandCallback extends Object implements ISCMPMessageCallback
The Class CreateSessionCommandCallback.
  • Constructor Details

    • CreateSessionCommandCallback

      public CreateSessionCommandCallback(IRequest request, IResponse response, IResponderCallback callback, Session session)
      Instantiates a new CreateSessionCommandCallback.
      Parameters:
      request - the request
      response - the response
      callback - the callback
      session - the session
  • Method Details

    • receive

      public void receive(SCMPMessage reply)
      Callback. This method gets informed when a message received.
      Specified by:
      receive in interface ISCMPMessageCallback
      Parameters:
      reply - the scmp reply
    • receive

      public void receive(Exception ex)
      Callback. This method gets informed in case of an error.
      Specified by:
      receive in interface ISCMPMessageCallback
      Parameters:
      ex - the ex
    • setServer

      public void setServer(StatefulServer server)
      Sets the server.
      Parameters:
      server - the new server