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.
|
getListenerName
void 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_CLIENT
void 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_CLIENT
Copyright © SAS Institute. All Rights Reserved.