org.netxms.client.snmp
Class SnmpValue

java.lang.Object
  extended by 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)
           
SnmpValue(java.lang.String name, int type, java.lang.String value)
           
 
Method Summary
 java.lang.String getName()
           
 SnmpObjectId getObjectId()
           
 int getType()
          Get object type.
 java.lang.String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnmpValue

public SnmpValue(java.lang.String name,
                 int type,
                 java.lang.String value)
Parameters:
name -
type -
value -

SnmpValue

public SnmpValue(SnmpObjectId objectId,
                 int type,
                 java.lang.String value)
Parameters:
objectId -
type -
value -
Method Detail

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 type, not type of MibObject

Returns:
the type

getValue

public java.lang.String getValue()
Returns:
the value


Copyright © 2012. All Rights Reserved.