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 TypeMethodDescriptionvoid
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.
-
Constructor Details
-
ConnectionEventHandler
protected ConnectionEventHandler()
-
-
Method Details
-
connectionMade
Indicates that a connection to the specified channel has been established.- Specified by:
connectionMade
in interfaceConnectionListener
- Parameters:
channel
- The channel which has been connected.
-
connectionDropped
Indicates that a connection to the specified channel has been dropped.- Specified by:
connectionDropped
in interfaceConnectionListener
- Parameters:
channel
- The channel which has been disconnected.
-