snmp
Class SNMPVariablePair

java.lang.Object
  extended bysnmp.SNMPObject
      extended bysnmp.SNMPSequence
          extended bysnmp.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 }


Field Summary
 
Fields inherited from class snmp.SNMPSequence
sequence, tag
 
Constructor Summary
SNMPVariablePair(SNMPObjectIdentifier objectID, SNMPObject value)
          Create a new variable pair having the supplied object identifier and vale.
 
Methods inherited from class snmp.SNMPSequence
addSNMPObject, extractFromBEREncoding, getBEREncoding, getSNMPObjectAt, getValue, insertSNMPObjectAt, setValue, size, toString
 
Methods inherited from class snmp.SNMPObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, 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.