public class NullTCPConnectionListener extends 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)
TCPConnectionListener
connectionOpened
will be called whenever a socket
is opened.connectionOpened
in interface TCPConnectionListener
e
- a TCPConenctionEvent
valuepublic void connectionClosed(TCPConnectionEvent e)
TCPConnectionListener
connectionClosed
will be called whenever a socket
is closed.connectionClosed
in interface TCPConnectionListener
e
- a TCPConenctionEvent
valuepublic boolean isListenerEnabled()
TCPConnectionListener
isListenerEnabled
in interface TCPConnectionListener
Copyright © 2017 JacORB. All rights reserved.