|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConnectionListener
A NamedListener that wishes to sink connection state information or commands from remote sources.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.safs.sockets.NamedListener |
|---|
getListenerName |
| Method Detail |
|---|
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_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_CLIENT
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||