public interface ConnectionListener extends NamedListener
| Modifier and Type | Method and Description |
|---|---|
void |
onReceiveConnection()
Called when a 2-way sockets connection has been established.
|
void |
onReceiveLocalShutdown(int shutdownCause)
A local source has issued a SHUTDOWN event/command.
|
void |
onReceiveRemoteShutdown(int shutdownCause)
A remote source has issued a SHUTDOWN event/command.
|
getListenerNamevoid onReceiveConnection()
void onReceiveLocalShutdown(int shutdownCause)
shutdownCause - is used to indicate whether the shutdown is due to normal
or abnormal circumstances.SocketProtocol.STATUS_SHUTDOWN_NORMAL,
SocketProtocol.STATUS_SHUTDOWN_REMOTE_CLIENTvoid onReceiveRemoteShutdown(int shutdownCause)
shutdownCause - is used to indicate whether the shutdown is due to normal
or abnormal circumstances.SocketProtocol.STATUS_SHUTDOWN_NORMAL,
SocketProtocol.STATUS_SHUTDOWN_REMOTE_CLIENTCopyright © SAS Institute. All Rights Reserved.