All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Snmp.SnmpUnsignedInt

java.lang.Object
   |
   +----Snmp.SnmpVar
           |
           +----Snmp.SnmpUnsignedInt

public class SnmpUnsignedInt
extends SnmpVar

Variable Index

 o byteValue
 o value

Constructor Index

 o SnmpUnsignedInt(long)
The constructor takes a long type as it's argument

Method Index

 o longValue()
Function to return value of SNMP variable as a long value.
 o toBytes()
To return the value as raw bytes
 o toString()
To convert the object to a printable string used in printing variables
 o toTagString()
To convert the object to a printable string tagged with UNSIGNED:
 o toValue()
Function to return value of SNMP variable as a Long object.

Variables

 o value
 protected long value
 o byteValue
 protected byte byteValue[]

Constructors

 o SnmpUnsignedInt
 public SnmpUnsignedInt(long val)
The constructor takes a long type as it's argument

Methods

 o toValue
 public Object toValue()
Function to return value of SNMP variable as a Long object.

Overrides:
toValue in class SnmpVar
 o longValue
 public long longValue()
Function to return value of SNMP variable as a long value.

 o toString
 public String toString()
To convert the object to a printable string used in printing variables

Overrides:
toString in class SnmpVar
 o toTagString
 public String toTagString()
To convert the object to a printable string tagged with UNSIGNED:

Overrides:
toTagString in class SnmpVar
 o toBytes
 public byte[] toBytes()
To return the value as raw bytes

Overrides:
toBytes in class SnmpVar

All Packages  Class Hierarchy  This Package  Previous  Next  Index