|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.snmputils.VariableBinding
com.tivoli.twg.snmputils.Counter64Vbl
Counter64 variable binding.
Field Summary | |
---|---|
static java.lang.String |
MAX_VALUE
|
static java.lang.String |
MIN_VALUE
|
Fields inherited from class com.tivoli.twg.snmputils.VariableBinding |
---|
oid |
Constructor Summary | |
---|---|
Counter64Vbl(java.lang.String oid,
java.lang.String valueObject)
Constructor using object type for value |
Method Summary | |
---|---|
void |
addToPdu(SNMPPDU pdu)
Adds the variable binding to the specified PDU |
static int |
getMIBType()
Describes the type of MIB I represent. |
static int |
getType()
Describes the type of variable binding I represent. |
java.lang.String |
getValue()
Returns the value for this variable binding as a primitive |
java.lang.Object |
getValueAsObject()
Returns the value for this variable binding as an Object |
int |
size()
Returns the size of the variable binding |
Methods inherited from class com.tivoli.twg.snmputils.VariableBinding |
---|
getOid, setOid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String MIN_VALUE
public static final java.lang.String MAX_VALUE
Constructor Detail |
public Counter64Vbl(java.lang.String oid, java.lang.String valueObject) throws java.lang.NumberFormatException
oid
- string for the OID of this variable bindingvalueObject
- a String to create a VariableBinding for
java.lang.NumberFormatException
- if value not in rangeMethod Detail |
public static int getType()
SNMPPDU
public static int getMIBType()
TWGMIBItem2
public java.lang.String getValue()
public java.lang.Object getValueAsObject()
getValueAsObject
in class VariableBinding
public void addToPdu(SNMPPDU pdu)
addToPdu
in class VariableBinding
pdu
- SNMPPDU to add variable binding topublic int size()
size
in class VariableBinding
VariableBinding
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |