Package xal.service.pvlogger
Class ChannelWrapper.ConnectionHandler
java.lang.Object
xal.service.pvlogger.ChannelWrapper.ConnectionHandler
- All Implemented Interfaces:
ConnectionListener
- Enclosing class:
- ChannelWrapper
Connection handler is a class whose instance listens for connection
events of the wrapped channel.
-
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
-
ConnectionHandler
protected ConnectionHandler()
-
-
Method Details
-
connectionMade
Indicates that a connection to the specified channel has been established. If the monitor is null make a new monitor.- Specified by:
connectionMadein interfaceConnectionListener- Parameters:
channel- The channel which has been connected.
-
connectionDropped
Indicates that a connection to the specified channel has been dropped. If the connection is dropped, clear the latest record.- Specified by:
connectionDroppedin interfaceConnectionListener- Parameters:
channel- The channel which has been disconnected.
-