WebNMS TL1 API Release 4 Specification

com.adventnet.tl1
Interface ConnectionListener


public interface ConnectionListener

This interface must be implemented by the management application in order to monitor the status of the connection with the TL1Device. This interface allows users to monitor the status of the connection with the TL1Device and perform some action when the connection goes down.

The implementation of this interface is registered with the TL1Session as follows

session.setConnectionListener(connectionListenerImpl);

where session is the instance of TL1Session and connectionListenerImpl is the implementation of this interface.

See Also:
TL1Session, TL1Session.setConnectionListener(com.adventnet.tl1.ConnectionListener), TL1Session.removeConnectionListener()

Method Summary
 void processConnectionDown(TL1Session session)
          Invoked when the connection with the device is lost.
 

Method Detail

processConnectionDown

public void processConnectionDown(TL1Session session)
Invoked when the connection with the device is lost. The application can specify some action to be performed when the session terminates.

Parameters:
session - TL1Session instance.

WebNMS TL1 API Release 4 Specification