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 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
-
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:
connectionMade
in 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:
connectionDropped
in interfaceConnectionListener
- Parameters:
channel
- The channel which has been disconnected.
-