com.sun.jaw.snmp.common
Class SnmpPduRequest

java.lang.Object
  |
  +--com.sun.jaw.snmp.common.SnmpPduPacket
        |
        +--com.sun.jaw.snmp.common.SnmpPduRequest

public class SnmpPduRequest
extends SnmpPduPacket

The SnmpPduRequest class is used to represent get, get-next, set, response and SNMPv2-trap PDUs.

You normally don't need to use this class except if you decide to implement your own SnmpPduFactoryIf object.

See Also:
Serialized Form

Field Summary
 int errorIndex
          Error index.
 int errorStatus
          Error status.
 
Fields inherited from class com.sun.jaw.snmp.common.SnmpPduPacket
address, community, port, requestId, type, varBindList, version
 
Constructor Summary
SnmpPduRequest()
           
 
Methods inherited from class com.sun.jaw.snmp.common.SnmpPduPacket
pduTypeToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errorStatus

public int errorStatus
Error status. Status are defined in SnmpDefinitions.

errorIndex

public int errorIndex
Error index. Remember that SNMP indices start from 1. Thus the corresponding SnmpVarBind is varBindList[errorIndex-1].
Constructor Detail

SnmpPduRequest

public SnmpPduRequest()