public class NullTCPConnectionListener extends java.lang.Object implements TCPConnectionListener
| Constructor and Description |
|---|
NullTCPConnectionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
connectionClosed(TCPConnectionEvent e)
connectionClosed will be called whenever a socket
is closed. |
void |
connectionOpened(TCPConnectionEvent e)
connectionOpened will be called whenever a socket
is opened. |
boolean |
isListenerEnabled()
Check whether this Listener is enabled.
|
public void connectionOpened(TCPConnectionEvent e)
TCPConnectionListenerconnectionOpened will be called whenever a socket
is opened.connectionOpened in interface TCPConnectionListenere - a TCPConenctionEvent valuepublic void connectionClosed(TCPConnectionEvent e)
TCPConnectionListenerconnectionClosed will be called whenever a socket
is closed.connectionClosed in interface TCPConnectionListenere - a TCPConenctionEvent valuepublic boolean isListenerEnabled()
TCPConnectionListenerisListenerEnabled in interface TCPConnectionListener