gov.sns.tools.pvlogger
Class ChannelGroup.ConnectionHandler

java.lang.Object
  |
  +--gov.sns.tools.pvlogger.ChannelGroup.ConnectionHandler
All Implemented Interfaces:
ConnectionListener
Enclosing class:
ChannelGroup

protected class ChannelGroup.ConnectionHandler
extends java.lang.Object
implements ConnectionListener


Constructor Summary
protected ChannelGroup.ConnectionHandler()
           
 
Method Summary
 void connectionDropped(Channel channel)
          Indicates that a connection to the specified channel has been dropped.
 void connectionMade(Channel channel)
          Indicates that a connection to the specified channel has been established.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelGroup.ConnectionHandler

protected ChannelGroup.ConnectionHandler()
Method Detail

connectionMade

public void connectionMade(Channel channel)
Indicates that a connection to the specified channel has been established.

Specified by:
connectionMade in interface ConnectionListener
Parameters:
channel - The channel which has been connected.

connectionDropped

public void connectionDropped(Channel channel)
Indicates that a connection to the specified channel has been dropped.

Specified by:
connectionDropped in interface ConnectionListener
Parameters:
channel - The channel which has been disconnected.