All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jsnmp.SnmpIpAddress

java.lang.Object
   |
   +----jsnmp.SnmpVar
           |
           +----jsnmp.SnmpIpAddress

public class SnmpIpAddress
extends SnmpVar

Variable Index

 o ipAddress

Constructor Index

 o SnmpIpAddress(byte[])
 o SnmpIpAddress(String)

Method Index

 o decode(ByteArrayInputStream, int)
Method used to extract (decode) the received byte stream for the current SNMP variable.
 o encode()
Method used to create (encode) the byte stream for the current SNMP variable.
 o getValue()
Method used by all SNMP variable definitions to fetch the variable value.
 o toString()
Method used to produce a printable string for variable value.

Variables

 o ipAddress
 private InetAddress ipAddress

Constructors

 o SnmpIpAddress
 public SnmpIpAddress(String s)
 o SnmpIpAddress
 public SnmpIpAddress(byte ip[])

Methods

 o getValue
 public Object getValue()
Method used by all SNMP variable definitions to fetch the variable value.

Overrides:
getValue in class SnmpVar
 o toString
 public String toString()
Method used to produce a printable string for variable value.

Overrides:
toString in class SnmpVar
 o encode
 public byte[] encode()
Method used to create (encode) the byte stream for the current SNMP variable.

Overrides:
encode in class SnmpVar
 o decode
 public void decode(ByteArrayInputStream b,
                    int length) throws SnmpException
Method used to extract (decode) the received byte stream for the current SNMP variable.

Overrides:
decode in class SnmpVar

All Packages  Class Hierarchy  This Package  Previous  Next  Index