com.jpragma.snmp.types
Class GetNextRequestPDU

java.lang.Object
  extended by com.jpragma.snmp.asn.AsnObject
      extended by com.jpragma.snmp.asn.AsnSequence
          extended by com.jpragma.snmp.types.AbstractPDU
              extended by com.jpragma.snmp.types.PDU
                  extended by com.jpragma.snmp.types.GetNextRequestPDU

public class GetNextRequestPDU
extends PDU

 RFC 1157.
 
 The form of the GetNextRequest-PDU is:
        GetNextRequest-PDU ::=
                [1]
                        IMPLICIT SEQUENCE {
                                request-id
                                        RequestID,
                                error-status -- always 0
                                        ErrorStatus,
                                error-index -- always 0
                                        ErrorIndex,
                                variable-bindings
                                        VarBindList
                        }

Author:
Isaac Levin

Field Summary
static byte TAG_NUMBER
           
 
Constructor Summary
GetNextRequestPDU(BerTlv tlv)
           
GetNextRequestPDU(long requestId, int errorStatus, long errorIndex, VarBindList varBindList)
           
GetNextRequestPDU(long requestId, VarBindList varBindList)
           
 
Method Summary
 BerTlv toBerTlv()
           
 
Methods inherited from class com.jpragma.snmp.types.PDU
getErrorIndex, getErrorStatus, getRequestId, getVarBindList, setValue, toString
 
Methods inherited from class com.jpragma.snmp.asn.AsnSequence
add, add, get, getValue, setValue, toBerTlv
 
Methods inherited from class com.jpragma.snmp.asn.AsnObject
equals, getInstance
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TAG_NUMBER

public static final byte TAG_NUMBER
See Also:
Constant Field Values
Constructor Detail

GetNextRequestPDU

public GetNextRequestPDU(long requestId,
                         int errorStatus,
                         long errorIndex,
                         VarBindList varBindList)

GetNextRequestPDU

public GetNextRequestPDU(long requestId,
                         VarBindList varBindList)

GetNextRequestPDU

public GetNextRequestPDU(BerTlv tlv)
Method Detail

toBerTlv

public BerTlv toBerTlv()
Overrides:
toBerTlv in class AsnSequence