public class

SnmpPduBulk

extends SnmpPduPacket
implements SnmpPduBulkType
java.lang.Object
   ↳ com.sun.jmx.snmp.SnmpPdu
     ↳ com.sun.jmx.snmp.SnmpPduPacket
       ↳ com.sun.jmx.snmp.SnmpPduBulk

Class Overview

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 com.sun.jmx.snmp.SnmpPduPacket SnmpPduPacket and defines attributes specific to the get-bulk PDU (see RFC 1448).

This API is a Sun Microsystems internal API and is subject to change without notice.

Summary

[Expand]
Inherited Constants
From interface com.sun.jmx.snmp.SnmpDefinitions
Fields
public int maxRepetitions The max-repetitions value.
public int nonRepeaters The non-repeaters value.
[Expand]
Inherited Fields
From class com.sun.jmx.snmp.SnmpPduPacket
From class com.sun.jmx.snmp.SnmpPdu
Public Constructors
SnmpPduBulk()
Builds a new get-bulk PDU.
Public Methods
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.
[Expand]
Inherited Methods
From class com.sun.jmx.snmp.SnmpPdu
From class java.lang.Object
From interface com.sun.jmx.snmp.SnmpAckPdu
From interface com.sun.jmx.snmp.SnmpPduBulkType

Fields

public int maxRepetitions

The max-repetitions value.

public int nonRepeaters

The non-repeaters value.

Public Constructors

public SnmpPduBulk ()

Builds a new get-bulk PDU.
type and version fields are initialized with pduGetBulkRequestPdu and snmpVersionTwo.

Public Methods

public int getMaxRepetitions ()

Implements the SnmpPduBulkType interface.

Returns
  • Maximum repetition.

public int getNonRepeaters ()

Implements the SnmpPduBulkType interface.

Returns
  • Non repeaters.

public SnmpPdu getResponsePdu ()

Implements the SnmpAckPdu interface.

Returns
  • The response PDU.

public void setMaxRepetitions (int i)

Implements the SnmpPduBulkType interface.

Parameters
i Maximum repetition.

public void setNonRepeaters (int i)

Implements the SnmpPduBulkType interface.

Parameters
i Non repeaters.