org.rhq.plugins.www.snmp
Class SNMPValue

java.lang.Object
  extended by org.rhq.plugins.www.snmp.SNMPValue

public class SNMPValue
extends java.lang.Object


Nested Class Summary
static class SNMPValue.Type
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getOID()
           
 SNMPValue.Type getType()
           
 int hashCode()
           
 long toLong()
           
 java.lang.String toPhysAddressString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

toPhysAddressString

public java.lang.String toPhysAddressString()

getOID

public java.lang.String getOID()

getType

public SNMPValue.Type getType()

toLong

public long toLong()
            throws SNMPException
Returns:
The value of the variable as a long
Throws:
SNMPException - If the variable cannot be expressed as a long.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.