Class ChannelWrapper.ConnectionHandler

java.lang.Object
xal.service.pvlogger.ChannelWrapper.ConnectionHandler
All Implemented Interfaces:
ConnectionListener
Enclosing class:
ChannelWrapper

protected class ChannelWrapper.ConnectionHandler extends Object implements ConnectionListener
Connection handler is a class whose instance listens for connection events of the wrapped channel.
  • Constructor Details

    • ConnectionHandler

      protected ConnectionHandler()
  • Method Details

    • connectionMade

      public void connectionMade(Channel channel)
      Indicates that a connection to the specified channel has been established. If the monitor is null make a new monitor.
      Specified by:
      connectionMade in interface ConnectionListener
      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. If the connection is dropped, clear the latest record.
      Specified by:
      connectionDropped in interface ConnectionListener
      Parameters:
      channel - The channel which has been disconnected.