public interface SocketNodeEventListener
extends java.util.EventListener
SocketNode related
events. Clients register an instance of the interface and the
instance is called back when the various events occur.| Modifier and Type | Method and Description |
|---|---|
void |
socketClosedEvent(java.lang.Exception e)
Called when the socket the node was given has been closed.
|
void |
socketOpened(java.lang.String remoteInfo)
Called when the SocketNode is created and begins awaiting data.
|
void socketOpened(java.lang.String remoteInfo)
remoteInfo - remote infovoid socketClosedEvent(java.lang.Exception e)
e - exceptionCopyright © 2018. All rights reserved.