org.jacorb.orb.listener
Class NullTCPConnectionListener

java.lang.Object
  extended by org.jacorb.orb.listener.NullTCPConnectionListener
All Implemented Interfaces:
java.util.EventListener, TCPConnectionListener

public class NullTCPConnectionListener
extends java.lang.Object
implements TCPConnectionListener

empty implementation of the TCPConnectionListener interface

Version:
$Id: NullTCPConnectionListener.java,v 1.2 2006-06-29 15:42:48 alphonse.bendt Exp $
Author:
Alphonse Bendt

Constructor Summary
NullTCPConnectionListener()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullTCPConnectionListener

public NullTCPConnectionListener()
Method Detail

connectionOpened

public void connectionOpened(TCPConnectionEvent e)
Description copied from interface: TCPConnectionListener
connectionOpened will be called whenever a socket is opened.

Specified by:
connectionOpened in interface TCPConnectionListener
Parameters:
e - a TCPConenctionEvent value

connectionClosed

public void connectionClosed(TCPConnectionEvent e)
Description copied from interface: TCPConnectionListener
connectionClosed will be called whenever a socket is closed.

Specified by:
connectionClosed in interface TCPConnectionListener
Parameters:
e - a TCPConenctionEvent value

isListenerEnabled

public boolean isListenerEnabled()
Description copied from interface: TCPConnectionListener
Check whether this Listener is enabled. This function is intended to lessen the computational cost of disabled listeners.

Specified by:
isListenerEnabled in interface TCPConnectionListener
Returns:
true, if the listener is ready to receive notifications of socket events.