com.amx.duet.tools.net.snmp.api
Class SNMPVariablePair

java.lang.Object
  extended bycom.amx.duet.tools.net.snmp.api.SNMPObject
      extended bycom.amx.duet.tools.net.snmp.api.SNMPSequence
          extended bycom.amx.duet.tools.net.snmp.api.SNMPVariablePair

public class SNMPVariablePair
extends SNMPSequence

The SNMPVariablePair class implements the VarBind specification detailed below from RFC 1157. It is a specialization of SNMPSequence, defining a 2-element sequence containing a single (object identifier, value) pair. Note that the values are themselves SNMPObjects. -- variable bindings VarBind ::= SEQUENCE { name ObjectName, value ObjectSyntax }


Constructor Summary
SNMPVariablePair(SNMPObjectIdentifier objectID, SNMPObject value)
          Create a new variable pair having the supplied object identifier and vale.
 
Methods inherited from class com.amx.duet.tools.net.snmp.api.SNMPSequence
addSNMPObject, getSNMPObjectAt, getValue, insertSNMPObjectAt, setValue, size, toString
 
Methods inherited from class com.amx.duet.tools.net.snmp.api.SNMPObject
equals, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SNMPVariablePair

public SNMPVariablePair(SNMPObjectIdentifier objectID,
                        SNMPObject value)
                 throws SNMPBadValueException
Create a new variable pair having the supplied object identifier and vale.



Copyright © 2008 AMX LLC. All Rights Reserved.