All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Snmp.SnmpInt

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

public class SnmpInt
extends SnmpVar
Class of SNMP Integer Variable - Sub-class of SnmpVar


Variable Index

 o byteValue
 o value

Constructor Index

 o SnmpInt(int)
Constructor - takes integer value of SNMP Variable as argument

Method Index

 o intValue()
function to return value as an integer
 o toBytes()
To return the value as raw bytes
 o toEnumString(SnmpOID)
To convert the object to a printable string
 o toEnumTagString(SnmpOID)
To convert the object to a printable string tagged with STRING:
 o toString()
To convert the object to a printable string
 o toTagString()
To convert the object to a printable string tagged with STRING:
 o toValue()
function to return value as an Integer object

Variables

 o value
 protected int value
 o byteValue
 protected byte byteValue[]

Constructors

 o SnmpInt
 public SnmpInt(int i)
Constructor - takes integer value of SNMP Variable as argument

Methods

 o toValue
 public Object toValue()
function to return value as an Integer object

Overrides:
toValue in class SnmpVar
 o intValue
 public int intValue()
function to return value as an integer

 o toString
 public String toString()
To convert the object to a printable string

Overrides:
toString in class SnmpVar
 o toEnumString
 public String toEnumString(SnmpOID oid)
To convert the object to a printable string

 o toTagString
 public String toTagString()
To convert the object to a printable string tagged with STRING:

Overrides:
toTagString in class SnmpVar
 o toEnumTagString
 public String toEnumTagString(SnmpOID oid)
To convert the object to a printable string tagged with STRING:

 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