|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.jaw.snmp.common.SnmpVarBind
The SnmpVarBind
class represents a variable contained in a
VarBindList
.
Field Summary | |
static SnmpNull |
endOfMibView
Error code value as defined in RFC 1448 for: endOfMibView . |
static SnmpNull |
noSuchInstance
Error code value as defined in RFC 1448 for: noSuchInstance . |
static SnmpNull |
noSuchObject
Error code value as defined in RFC 1448 for: noSuchObject . |
SnmpOid |
oid
The oid of the SnmpVarBind . |
SnmpValue |
value
The value of the SnmpVarBind . |
Constructor Summary | |
SnmpVarBind()
Default constructor. |
|
SnmpVarBind(SnmpOid o,
SnmpValue v)
Constructs a new SnmpVarBind object from the specified SnmpOid and SnmpValue . |
Method Summary | |
void |
appendInOid(SnmpOid oid)
Appends the specified SnmpOid to the end of the oid of this SnmpVarBind . |
void |
insertInOid(int val)
Inserts a subid at the beginning of the oid of this SnmpVarBind . |
java.lang.String |
toString()
Returns the string representation for this SnmpVarBind . |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public SnmpOid oid
SnmpVarBind
.public SnmpValue value
SnmpVarBind
.public static final SnmpNull noSuchObject
noSuchObject
.public static final SnmpNull noSuchInstance
noSuchInstance
.public static final SnmpNull endOfMibView
endOfMibView
.Constructor Detail |
public SnmpVarBind()
public SnmpVarBind(SnmpOid o, SnmpValue v)
SnmpVarBind
object from the specified SnmpOid
and SnmpValue
.o
- The oid part of the SnmpVarBind
.v
- The value part of the SnmpVarBind
.Method Detail |
public java.lang.String toString()
SnmpVarBind
.public void insertInOid(int val)
SnmpVarBind
.val
- The subid to insert.public void appendInOid(SnmpOid oid)
SnmpOid
to the end of the oid of this SnmpVarBind
.oid
- The oid to append.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |