|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.management.snmp.SnmpPdu
com.sun.management.snmp.SnmpPduPacket
com.sun.management.snmp.SnmpPduBulk
public class SnmpPduBulk
Represents a get-bulk
PDU as defined in RFC 1448.
You will not usually need to use this class, except if you
decide to implement your own
SnmpPduFactory
object.
The SnmpPduBulk
extends SnmpPduPacket
and defines attributes specific to the get-bulk
PDU (see RFC 1448).
Field Summary | |
---|---|
int |
maxRepetitions
The max-repetitions value. |
int |
nonRepeaters
The non-repeaters value. |
Fields inherited from class com.sun.management.snmp.SnmpPduPacket |
---|
community |
Fields inherited from class com.sun.management.snmp.SnmpPdu |
---|
address, port, requestId, type, varBindList, version |
Constructor Summary | |
---|---|
SnmpPduBulk()
Builds a new get-bulk PDU. |
Method Summary | |
---|---|
int |
getMaxRepetitions()
Implements the SnmpPduBulkType interface. |
int |
getNonRepeaters()
Implements the SnmpPduBulkType interface. |
SnmpPdu |
getResponsePdu()
Implements the SnmpAckPdu interface. |
void |
setMaxRepetitions(int i)
Implements the SnmpPduBulkType interface. |
void |
setNonRepeaters(int i)
Implements the SnmpPduBulkType interface. |
Methods inherited from class com.sun.management.snmp.SnmpPdu |
---|
pduTypeToString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int nonRepeaters
non-repeaters
value.
public int maxRepetitions
max-repetitions
value.
Constructor Detail |
---|
public SnmpPduBulk()
get-bulk
PDU.
type
and version
fields are initialized with
pduGetBulkRequestPdu
and snmpVersionTwo
.
Method Detail |
---|
public void setMaxRepetitions(int i)
SnmpPduBulkType
interface.
setMaxRepetitions
in interface SnmpPduBulkType
i
- Maximum repetition.public void setNonRepeaters(int i)
SnmpPduBulkType
interface.
setNonRepeaters
in interface SnmpPduBulkType
i
- Non repeaters.public int getMaxRepetitions()
SnmpPduBulkType
interface.
getMaxRepetitions
in interface SnmpPduBulkType
public int getNonRepeaters()
SnmpPduBulkType
interface.
getNonRepeaters
in interface SnmpPduBulkType
public SnmpPdu getResponsePdu()
SnmpAckPdu
interface.
getResponsePdu
in interface SnmpAckPdu
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |