Interface SessionCallback


public interface SessionCallback
A callback class to get notifications of status changes in the Glacier2 session. All callbacks on the Callback interface occur in the main swing thread.
  • Method Details

    • createdCommunicator

      void createdCommunicator(SessionHelper session)
      Notifies the application that the communicator was created.
      Parameters:
      session - The Glacier2 session.
    • connected

      void connected(SessionHelper session) throws SessionNotExistException
      Notifies the application that the Glacier2 session has been established.
      Parameters:
      session - The established session.
      Throws:
      SessionNotExistException - If the session no longer exists.
    • disconnected

      void disconnected(SessionHelper session)
      Notifies the application that the Glacier2 session has been disconnected.
      Parameters:
      session - The disconnected session.
    • connectFailed

      void connectFailed(SessionHelper session, Throwable ex)
      Notifies the application that the Glacier2 session establishment failed.
      Parameters:
      session - The session reporting the connection failure.
      ex - The exception.