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 TypeMethodDescriptionvoid
connected
(SessionHelper session) Notifies the application that the Glacier2 session has been established.void
connectFailed
(SessionHelper session, 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.
-
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.
-