public interface SessionCallback
Callback interface occur in the main swing thread.| Modifier and Type | Method and Description |
|---|---|
void |
connected(SessionHelper session)
Notifies the application that the Glacier2 session has been established.
|
void |
connectFailed(SessionHelper session,
java.lang.Throwable ex)
Notifies the application that the Glacier2 session establishment failed.
|
void |
createdCommunicator(SessionHelper session)
Notifies the application that the communicator was created.
|
void |
disconnected(SessionHelper session)
Notifies the application that the Glacier2 session has been disconnected.
|
void createdCommunicator(SessionHelper session)
session - The Glacier2 session.void connected(SessionHelper session) throws SessionNotExistException
session - The established session.SessionNotExistException - If the session no longer exists.void disconnected(SessionHelper session)
session - The disconnected session.void connectFailed(SessionHelper session, java.lang.Throwable ex)
session - The session reporting the connection
failure.ex - The exception.