com.amx.duet.tools.net.snmp
Interface SNMPConnectionListener


public interface SNMPConnectionListener

This class is always used in conjunction with the SNMPConnection class and must be implemented by any class wishing to receive SNMP events.


Method Summary
 void handleSNMPReceive(SNMPObjectIdentifier itemID, SNMPObject snmpValue)
          Handle data received from the SNMP connection.
 void handleSocketStatus(int status)
          Handles status returned from the socket.
 

Method Detail

handleSocketStatus

public void handleSocketStatus(int status)
Handles status returned from the socket.

Parameters:
status -

handleSNMPReceive

public void handleSNMPReceive(SNMPObjectIdentifier itemID,
                              SNMPObject snmpValue)
Handle data received from the SNMP connection.

Parameters:
itemID - SNMPObjectIdentifier containing the OID of the data to access.
snmpValue - SNMPObject containing the value returned.


Copyright © 2008 AMX LLC. All Rights Reserved.