gov.sns.ca
Interface ConnectionListener

All Known Implementing Classes:
ChannelGroup.ConnectionHandler, ChannelWrapper.ConnectionHandler

public interface ConnectionListener

ConnectionListener is an interface for channel connection events.


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.
 

Method Detail

connectionMade

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

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.

Parameters:
channel - The channel which has been disconnected.