Package com.microfocus.zfe.haapi
Interface ConnectionListener
-
public interface ConnectionListener
The listener interface for receiving communications events. Notification is sent whenever the connection status of the host session changes. The status is either true (connected) or false (disconnected). To receive notification, an object that implements this interface must register itself using the Session.addConnectionListener() method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
connectionStateChanged(ConnectionStateChangedEvent event)
Invoked whenever the connection state changes.void
error(ConnectionErrorEvent event)
Invoked whenever there is an error connecting/disconnecting the session
-
-
-
Method Detail
-
error
void error(ConnectionErrorEvent event)
Invoked whenever there is an error connecting/disconnecting the session- Parameters:
event
- containing the event information.
-
connectionStateChanged
void connectionStateChanged(ConnectionStateChangedEvent event)
Invoked whenever the connection state changes.- Parameters:
event
- containing the event information.
-
-