|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amx.duet.tools.net.snmp.api.SNMPObject
com.amx.duet.tools.net.snmp.api.SNMPSequence
com.amx.duet.tools.net.snmp.api.SNMPv2BulkRequestPDU
The SNMPv2BulkRequestPDU class represents an SNMPv2 Bulk Request PDU from RFC 1905, as indicated below. This forms the payload of an SNMPv2 Bulk Request message. -- protocol data units 3. Definitions SNMPv2-PDU DEFINITIONS ::= BEGIN IMPORTS ObjectName, ObjectSyntax, Integer32 FROM SNMPv2-SMI; -- protocol data units PDUs ::= CHOICE { get-request GetRequest-PDU, get-next-request GetNextRequest-PDU, get-bulk-request GetBulkRequest-PDU, response Response-PDU, set-request SetRequest-PDU, inform-request InformRequest-PDU, snmpV2-trap SNMPv2-Trap-PDU } -- PDUs GetRequest-PDU ::= [0] IMPLICIT PDU GetNextRequest-PDU ::= [1] IMPLICIT PDU Response-PDU ::= [2] IMPLICIT PDU SetRequest-PDU ::= [3] IMPLICIT PDU -- [4] is obsolete GetBulkRequest-PDU ::= [5] IMPLICIT BulkPDU InformRequest-PDU ::= [6] IMPLICIT PDU SNMPv2-Trap-PDU ::= [7] IMPLICIT PDU max-bindings INTEGER ::= 2147483647 BulkPDU ::= -- MUST be identical in SEQUENCE { -- structure to PDU request-id Integer32, non-repeaters INTEGER (0..max-bindings), max-repetitions INTEGER (0..max-bindings), variable-bindings VarBindList -- values are ignored }
Constructor Summary | |
SNMPv2BulkRequestPDU(int requestID,
int nonRepeaters,
int maxRepetitions,
SNMPSequence varList)
Create a new PDU of the specified type, with given request ID, non-repeaters, and max-repetitions fields, and containing the supplied SNMP sequence as data. |
Method Summary | |
int |
getMaxRepetitions()
A utility method that returns the max-repetitions field for this PDU. |
int |
getNonRepeaters()
A utility method that extracts the non-repeaters field for this PDU. |
byte |
getPDUType()
A utility method that returns the PDU type of this PDU. |
int |
getRequestID()
A utility method that extracts the request ID number from this PDU. |
SNMPSequence |
getVarBindList()
A utility method that extracts the variable binding list from the pdu. |
Methods inherited from class com.amx.duet.tools.net.snmp.api.SNMPSequence |
addSNMPObject, getSNMPObjectAt, getValue, insertSNMPObjectAt, setValue, size, toString |
Methods inherited from class com.amx.duet.tools.net.snmp.api.SNMPObject |
equals, hashCode |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SNMPv2BulkRequestPDU(int requestID, int nonRepeaters, int maxRepetitions, SNMPSequence varList) throws SNMPBadValueException
Method Detail |
public SNMPSequence getVarBindList()
snmp.dr1_0_14.SNMPVarBindList
public int getRequestID()
public int getNonRepeaters()
public int getMaxRepetitions()
public byte getPDUType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |