All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jsnmp.SnmpPDU

java.lang.Object
   |
   +----jsnmp.SnmpPDU

public class SnmpPDU
extends Object

Variable Index

 o command
 o community
 o error_number
 o errorIndex
 o errorStatus
 o requestID
 o varBinds
 o version

Constructor Index

 o SnmpPDU()
 o SnmpPDU(byte, int, String)

Method Index

 o addVarBind(SnmpOID, SnmpVar)
 o buildAuth(int)
 o decode(byte[])
 o decodeType(ByteArrayInputStream, byte)
local method to check for errors while decoding an SNMP var
 o encode()
 o getCommunity()
 o getErrorIndex()
 o getErrorStatus()
 o getVarBinds()
 o parseAuth(ByteArrayInputStream)

Variables

 o error_number
 public static String error_number[]
 o command
 private byte command
 o requestID
 private int requestID
 o errorStatus
 private int errorStatus
 o errorIndex
 private int errorIndex
 o community
 private String community
 o varBinds
 private Vector varBinds
 o version
 private int version

Constructors

 o SnmpPDU
 public SnmpPDU()
 o SnmpPDU
 public SnmpPDU(byte command,
                int requestID,
                String community)

Methods

 o addVarBind
 public void addVarBind(SnmpOID oid,
                        SnmpVar variable)
 o getErrorStatus
 public int getErrorStatus()
 o getErrorIndex
 public int getErrorIndex()
 o getVarBinds
 public Vector getVarBinds()
 o getCommunity
 public String getCommunity()
 o encode
 public byte[] encode()
 o decode
 public void decode(byte data[]) throws SnmpException
 o parseAuth
 private void parseAuth(ByteArrayInputStream b) throws SnmpException
 o buildAuth
 private byte[] buildAuth(int length)
 o decodeType
 private SnmpVar decodeType(ByteArrayInputStream b,
                            byte type) throws SnmpException
local method to check for errors while decoding an SNMP var


All Packages  Class Hierarchy  This Package  Previous  Next  Index