com.adventnet.snmp.snmp2
Interface  ConnectionListener
- public interface ConnectionListener
 
This is an interface that the user must implement to monitor the status 
 of the connection with the SnmpSession.
 
processConnectionDown
public void processConnectionDown(SnmpSession session,
                                  ProtocolOptions protocolOptions)
- This method is invoked,if the connection is lost with the peer.
- Parameters:
 session - reference to the SnmpSession object.protocolOptions - reference to the ProtocolOptions object.
 
 
processConnectionUp
public void processConnectionUp(SnmpSession session,
                                ProtocolOptions protocolOptions)
- This method is invoked, if the connection is regained with the peer. 
 Presently this will not be invoked by the API.
- Parameters:
 session - reference to the SnmpSession object.protocolOptions - reference to the ProtocolOptions object.
 
 
Copyright (c)AdventNet Inc., 1996-2004