|
SNMP Stack 4_12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.co.westhawk.snmp.stack.varbind
This class represents the variable bindings to a Pdu. A variable consists of a name (an AsnObjectId) and a value (an AsnObject)
The varbind is usely passed to the Observers of the Pdu when notifying them.
Pdu.addOid(varbind)
,
Pdu.addOid(String, AsnObject)
Constructor Summary | |
varbind(AsnObjectId Oid)
Constructor. |
|
varbind(AsnObjectId Oid,
AsnObject val)
Constructor. |
|
varbind(java.lang.String Oid)
Constructor. |
|
varbind(java.lang.String Oid,
AsnObject val)
Constructor. |
|
varbind(varbind var)
Constructor. |
Method Summary | |
AsnObjectId |
getOid()
Returns the oid, this is the name of the varbind. |
AsnObject |
getValue()
Returns the value of the varbind. |
java.lang.String |
toString()
Returns the string representation of the varbind. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public varbind(varbind var)
var
- The varbindpublic varbind(java.lang.String Oid)
Oid
- The oidAsnNull
public varbind(AsnObjectId Oid)
Oid
- The oidAsnNull
public varbind(java.lang.String Oid, AsnObject val)
Oid
- The oidval
- The value for the varbindpublic varbind(AsnObjectId Oid, AsnObject val)
Oid
- The oidval
- The value for the varbindMethod Detail |
public AsnObjectId getOid()
public AsnObject getValue()
public java.lang.String toString()
toString
in class java.lang.Object
|
SNMP Stack 4_12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |