Package xal.ca
Class MonitorCache.ConnectionEventHandler
java.lang.Object
xal.ca.MonitorCache.ConnectionEventHandler
- All Implemented Interfaces:
ConnectionListener
- Enclosing class:
- MonitorCache
Handle connection events
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnectionDropped(Channel channel) Indicates that a connection to the specified channel has been dropped.voidconnectionMade(Channel channel) Indicates that a connection to the specified channel has been established.
-
Constructor Details
-
ConnectionEventHandler
protected ConnectionEventHandler()
-
-
Method Details
-
connectionMade
Indicates that a connection to the specified channel has been established.- Specified by:
connectionMadein interfaceConnectionListener- Parameters:
channel- The channel which has been connected.
-
connectionDropped
Indicates that a connection to the specified channel has been dropped.- Specified by:
connectionDroppedin interfaceConnectionListener- Parameters:
channel- The channel which has been disconnected.
-