Interface SocketNodeEventListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
SocketHubReceiver
Interface used to listen for
SocketNode related
events. Clients register an instance of the interface and the
instance is called back when the various events occur.-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the socket the node was given has been closed.voidsocketOpened(String remoteInfo) Called when the SocketNode is created and begins awaiting data.
-
Method Details
-
socketOpened
Called when the SocketNode is created and begins awaiting data.- Parameters:
remoteInfo- remote info
-
socketClosedEvent
Called when the socket the node was given has been closed.- Parameters:
e- exception
-