Package org.netxms.client.snmp
Class SnmpValue
java.lang.Object
org.netxms.client.snmp.SnmpValue
Value of SNMP object
- 
Constructor Details- 
SnmpValueCreate new SNMP value (varbind) object.- Parameters:
- name- value name (OID in text form)
- type- data type
- value- value as string
- rawValue- raw value
- nodeId- source node ID
 
- 
SnmpValueCreate new SNMP value (varbind) object.- Parameters:
- objectId- OID (will be converted to text form)
- type- data type
- value- value as string
- rawValue- raw value
- nodeId- source node ID
 
 
- 
- 
Method Details- 
getName- Returns:
- the name
 
- 
getObjectId- Returns:
- the objectId
 
- 
getTypepublic int getType()Get object type. Note that this is an ASN.1 identifier type (defined inASN}), not type of MibObject- Returns:
- the type
 
- 
getValue- Returns:
- the value
 
- 
getRawValuepublic byte[] getRawValue()- Returns:
- the rawValue
 
- 
getNodeIdpublic final long getNodeId()- Returns:
- the nodeId
 
 
-