snmp
Class SNMPVariablePair
java.lang.Object
snmp.SNMPObject
snmp.SNMPSequence
snmp.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
}
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SNMPVariablePair
public SNMPVariablePair(SNMPObjectIdentifier objectID,
SNMPObject value)
throws SNMPBadValueException
- Create a new variable pair having the supplied object identifier and vale.