org.netxms.client.snmp
Class SnmpValue
java.lang.Object
org.netxms.client.snmp.SnmpValue
public class SnmpValue
- extends java.lang.Object
Value of SNMP object
Constructor Summary |
SnmpValue(SnmpObjectId objectId,
int type,
java.lang.String value,
long nodeId)
|
SnmpValue(java.lang.String name,
int type,
java.lang.String value,
long nodeId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnmpValue
public SnmpValue(java.lang.String name,
int type,
java.lang.String value,
long nodeId)
- Parameters:
name
- type
- value
-
SnmpValue
public SnmpValue(SnmpObjectId objectId,
int type,
java.lang.String value,
long nodeId)
- Parameters:
objectId
- type
- value
-
getName
public java.lang.String getName()
- Returns:
- the name
getObjectId
public SnmpObjectId getObjectId()
- Returns:
- the objectId
getType
public int getType()
- Get object type. Note that this is an ASN.1 identifier type (defined in
ASN
}), not type of MibObject
- Returns:
- the type
getValue
public java.lang.String getValue()
- Returns:
- the value
getNodeId
public final long getNodeId()
- Returns:
- the nodeId
Copyright © 2013. All Rights Reserved.