Package com.zeroc.Glacier2
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 Summary
Modifier and TypeMethodDescriptionvoidconnected(SessionHelper session) Notifies the application that the Glacier2 session has been established.voidconnectFailed(SessionHelper session, Throwable ex) Notifies the application that the Glacier2 session establishment failed.voidcreatedCommunicator(SessionHelper session) Notifies the application that the communicator was created.voiddisconnected(SessionHelper session) Notifies the application that the Glacier2 session has been disconnected.
-
Method Details
-
createdCommunicator
Notifies the application that the communicator was created.- Parameters:
session- The Glacier2 session.
-
connected
Notifies the application that the Glacier2 session has been established.- Parameters:
session- The established session.- Throws:
SessionNotExistException- If the session no longer exists.
-
disconnected
Notifies the application that the Glacier2 session has been disconnected.- Parameters:
session- The disconnected session.
-
connectFailed
Notifies the application that the Glacier2 session establishment failed.- Parameters:
session- The session reporting the connection failure.ex- The exception.
-