Class SessionService


public class SessionService extends StatefulService
The Class SessionService. SessionService is a remote interface to a session service and provides communication functions.
  • Constructor Details

    • SessionService

      public SessionService(String name)
      Instantiates a new session service.
      Parameters:
      name - the name
  • Method Details

    • allocateServerAndCreateSession

      public void allocateServerAndCreateSession(SCMPMessage msgToForward, CreateSessionCommandCallback callback, Session session, int timeoutMillis) throws Exception
      Allocate server and create session.
      Parameters:
      msgToForward - the message to forward
      callback - the callback
      session - the session
      timeoutMillis - the timeout in milliseconds
      Throws:
      Exception - the exception