com.caucho.server.snmp.types
Class IntegerValue

java.lang.Object
  extended by com.caucho.server.snmp.types.SnmpValue
      extended by com.caucho.server.snmp.types.IntegerValue

public class IntegerValue
extends SnmpValue


Field Summary
static IntegerValue ZERO
           
 
Fields inherited from class com.caucho.server.snmp.types.SnmpValue
COUNTER, EOC, GAUGE, GET_NEXT_REQUEST_PDU, GET_REQUEST_PDU, GET_RESPONSE_PDU, INTEGER, IP_ADDRESS, NULL, OBJECT_IDENTIFIER, OCTET_STRING, OPAQUE, SEQUENCE, SET_REQUEST_PDU, TIME_TICKS, TRAP_PDU
 
Constructor Summary
IntegerValue(int value)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 long getLong()
           
 int getType()
           
 void toAsn1(java.lang.StringBuilder sb)
           
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.server.snmp.types.SnmpValue
create, create, create, getString, header, toAsn1, typeName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ZERO

public static final IntegerValue ZERO
Constructor Detail

IntegerValue

public IntegerValue(int value)
Method Detail

getLong

public long getLong()
Overrides:
getLong in class SnmpValue

getType

public int getType()
Specified by:
getType in class SnmpValue

toAsn1

public void toAsn1(java.lang.StringBuilder sb)
Specified by:
toAsn1 in class SnmpValue

equals

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

toString

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