Package org.netxms.client.snmp
Class SnmpValue
- java.lang.Object
-
- org.netxms.client.snmp.SnmpValue
-
public class SnmpValue extends Object
Value of SNMP object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()longgetNodeId()SnmpObjectIdgetObjectId()intgetType()Get object type.StringgetValue()
-
-
-
Constructor Detail
-
SnmpValue
public SnmpValue(String name, int type, String value, long nodeId)
- Parameters:
name-type-value-
-
SnmpValue
public SnmpValue(SnmpObjectId objectId, int type, String value, long nodeId)
- Parameters:
objectId-type-value-
-
-
Method Detail
-
getName
public 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 inASN}), not type of MibObject- Returns:
- the type
-
getValue
public String getValue()
- Returns:
- the value
-
getNodeId
public final long getNodeId()
- Returns:
- the nodeId
-
-