public interface ObjectValue
| Modifier and Type | Method and Description |
|---|---|
int |
asInt()
Coerces the value of the bound object to a (signed) integer.
|
long |
asLong()
Coerces the value of the bound object to a (signed) long.
|
String |
asString()
Coerces the value of the bound object to a display string.
|
int |
getSyntax()
Gets the MIB syntax type identifier of the object.
|
void |
set(Object value)
Sets the value of the object.
|
Object |
toObject()
Gets the value of the object as one of the fundamental types of SMI.
|
int getSyntax()
int asInt()
long asLong()
String asString()
The implementation will incorporate the application textual convention and display hint (if available) of the corresponding MIB object definition.
Object toObject()
This method returns a value for each SMI type as follows:
int array of the OID componentsbyte array containing the object's octetsLong value of the objectnullbyte array containing the address's octetsLong value of the objectLong value of the objectLong value of the objectbyte array containing the object's octetsvoid set(Object value)
value - Copyright © 2012–2015. All rights reserved.