FileDocCategorySizeDatePackage
SnmpScopedPduBulk.javaAPI DocJava SE 5 API2485Fri Aug 26 14:55:04 BST 2005com.sun.jmx.snmp

SnmpScopedPduBulk

public class SnmpScopedPduBulk extends SnmpScopedPduPacket implements SnmpPduBulkType
Represents a get-bulk PDU as defined in RFC 1448.

The SnmpSocpedPduBulk extends {@link com.sun.jmx.snmp.SnmpScopedPduPacket SnmpScopedPduPacket} 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.

since
1.5

Fields Summary
int
nonRepeaters
The non-repeaters value.
int
maxRepetitions
The max-repetitions value.
Constructors Summary
public SnmpScopedPduBulk()

  	type = pduGetBulkRequestPdu;
	version = snmpVersionThree;
    
Methods Summary
public intgetMaxRepetitions()
The max-repetitions getter.

return
Maximum repetition.

 return maxRepetitions; 
public intgetNonRepeaters()
The non-repeaters getter.

return
Non repeaters.

 return nonRepeaters; 
public SnmpPdugetResponsePdu()
Generates the pdu to use for response.

return
Response pdu.

 	SnmpScopedPduRequest result = new SnmpScopedPduRequest();
	result.address = address ;
	result.port = port ;
	result.version = version ;
 	result.requestId = requestId;
	result.msgId = msgId;
 	result.msgMaxSize = msgMaxSize;
 	result.msgFlags = msgFlags;
 	result.msgSecurityModel = msgSecurityModel;
 	result.contextEngineId = contextEngineId;
 	result.contextName = contextName;
 	result.securityParameters = securityParameters;
	result.type = pduGetResponsePdu ;
	result.errorStatus = SnmpDefinitions.snmpRspNoError ;
	result.errorIndex = 0 ;
 	return result;
    
public voidsetMaxRepetitions(int max)
The max-repetitions setter.

param
max Maximum repetition.

 
	maxRepetitions = max;
    
public voidsetNonRepeaters(int nr)
The non-repeaters setter.

param
nr Non repeaters.

	nonRepeaters = nr;