com.sun.management.snmp
Class SnmpPduBulk

java.lang.Object
  extended by com.sun.management.snmp.SnmpPdu
      extended by com.sun.management.snmp.SnmpPduPacket
          extended by com.sun.management.snmp.SnmpPduBulk
All Implemented Interfaces:
SnmpAckPdu, SnmpDefinitions, SnmpPduBulkType, Serializable

public class SnmpPduBulk
extends SnmpPduPacket
implements SnmpPduBulkType

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).

Since:
Java DMK 5.1
See Also:
Serialized Form

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
 
Fields inherited from interface com.sun.management.snmp.SnmpDefinitions
authMask, authNoPriv, authPriv, authPrivMask, CtxtConsFlag, noAuthNoPriv, noGroupName, noSuchContext, noSuchView, notInView, pduGetBulkRequestPdu, pduGetNextRequestPdu, pduGetRequestPdu, pduGetResponsePdu, pduInformRequestPdu, pduReportPdu, pduSetRequestPdu, pduV1TrapPdu, pduV2TrapPdu, pduWalkRequest, privMask, reportableFlag, snmpAuthNotSupported, snmpBadSecurityLevel, snmpPrivNotSupported, snmpReqAborted, snmpReqEncodingError, snmpReqHandleTooBig, snmpReqInternalError, snmpReqPacketOverflow, snmpReqRefireAfterVbFix, snmpReqSocketIOError, snmpReqTimeout, snmpReqTooBigImpossible, snmpReqUnknownError, snmpRspAuthorizationError, snmpRspBadValue, snmpRspCommitFailed, snmpRspDecodingError, snmpRspEndOfTable, snmpRspGenErr, snmpRspInconsistentName, snmpRspInconsistentValue, snmpRspNoAccess, snmpRspNoCreation, snmpRspNoError, snmpRspNoSuchName, snmpRspNotWritable, snmpRspReadOnly, snmpRspResourceUnavailable, snmpRspTooBig, snmpRspUndoFailed, snmpRspWrongEncoding, snmpRspWrongLength, snmpRspWrongType, snmpRspWrongValue, snmpUnknownPrincipal, snmpUsmBadEngineId, snmpUsmInvalidTimeliness, snmpUsmSecurityModel, snmpV1AccessControlModel, snmpV1MsgProcessingModel, snmpV1SecurityModel, snmpV2AccessControlModel, snmpV2MsgProcessingModel, snmpV2SecurityModel, snmpV3AccessControlModel, snmpV3MsgProcessingModel, snmpVersionOne, snmpVersionThree, snmpVersionTwo, snmpWrongSnmpVersion, trapAuthenticationFailure, trapColdStart, trapEgpNeighborLoss, trapEnterpriseSpecific, trapLinkDown, trapLinkUp, trapWarmStart
 
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

nonRepeaters

public int nonRepeaters
The non-repeaters value.


maxRepetitions

public int maxRepetitions
The max-repetitions value.

Constructor Detail

SnmpPduBulk

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

Method Detail

setMaxRepetitions

public void setMaxRepetitions(int i)
Implements the SnmpPduBulkType interface.

Specified by:
setMaxRepetitions in interface SnmpPduBulkType
Parameters:
i - Maximum repetition.

setNonRepeaters

public void setNonRepeaters(int i)
Implements the SnmpPduBulkType interface.

Specified by:
setNonRepeaters in interface SnmpPduBulkType
Parameters:
i - Non repeaters.

getMaxRepetitions

public int getMaxRepetitions()
Implements the SnmpPduBulkType interface.

Specified by:
getMaxRepetitions in interface SnmpPduBulkType
Returns:
Maximum repetition.

getNonRepeaters

public int getNonRepeaters()
Implements the SnmpPduBulkType interface.

Specified by:
getNonRepeaters in interface SnmpPduBulkType
Returns:
Non repeaters.

getResponsePdu

public SnmpPdu getResponsePdu()
Implements the SnmpAckPdu interface.

Specified by:
getResponsePdu in interface SnmpAckPdu
Returns:
The response PDU.

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.