org.snmp4j.agent.agentx
Class AgentXGetBulkPDU

java.lang.Object
  extended by org.snmp4j.agent.agentx.AgentXPDU
      extended by org.snmp4j.agent.agentx.AgentXContextPDU
          extended by org.snmp4j.agent.agentx.AgentXRequestPDU
              extended by org.snmp4j.agent.agentx.AgentXGetBulkPDU

public class AgentXGetBulkPDU
extends AgentXRequestPDU


Field Summary
protected  short maxRepetitions
           
protected  short nonRepeaters
           
 
Fields inherited from class org.snmp4j.agent.agentx.AgentXRequestPDU
ranges
 
Fields inherited from class org.snmp4j.agent.agentx.AgentXContextPDU
context
 
Fields inherited from class org.snmp4j.agent.agentx.AgentXPDU
AGENTX_ADDAGENTCAPS_PDU, AGENTX_CLEANUPSET_PDU, AGENTX_CLOSE_PDU, AGENTX_COMMITSET_PDU, AGENTX_GET_PDU, AGENTX_GETBULK_PDU, AGENTX_GETNEXT_PDU, AGENTX_INDEXALLOCATE_PDU, AGENTX_INDEXDEALLOCATE_PDU, AGENTX_NOTIFY_PDU, AGENTX_OPEN_PDU, AGENTX_PING_PDU, AGENTX_REGISTER_PDU, AGENTX_REMOVEAGENTCAPS_PDU, AGENTX_RESPONSE_PDU, AGENTX_TESTSET_PDU, AGENTX_UNDOSET_PDU, AGENTX_UNREGISTER_PDU, byteOrder, flags, packetID, RESERVED, sessionID, transactionID, type, version
 
Constructor Summary
AgentXGetBulkPDU(AgentXMessageHeader header)
           
AgentXGetBulkPDU(org.snmp4j.smi.OctetString context, short maxRepetitions, short nonRepeaters, org.snmp4j.agent.MOScope[] ranges)
           
 
Method Summary
protected  void decodeAfterContext(java.nio.ByteBuffer buf, int length)
           
protected  void encodeAfterContext(java.nio.ByteBuffer buf)
           
protected  int getAfterContextLength()
           
 short getMaxRepetitions()
           
 short getNonRepeaters()
           
 void setMaxRepetitions(short maxRepetitions)
           
 void setNonRepeaters(short nonRepeaters)
           
protected  java.lang.String toStringExtMembers()
           
 
Methods inherited from class org.snmp4j.agent.agentx.AgentXRequestPDU
getRanges, size
 
Methods inherited from class org.snmp4j.agent.agentx.AgentXContextPDU
beforeEncode, decodePayload, encodePayload, getContext, getPayloadLength, setContext
 
Methods inherited from class org.snmp4j.agent.agentx.AgentXPDU
addFlag, decode, encode, getByteOrder, getFlags, getPacketID, getSessionID, getTransactionID, getType, getVersion, isConfirmedPDU, isFlagSet, main, setByteOrder, setFlags, setPacketID, setSessionAttributes, setSessionID, setTransactionID, setType, setVersion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

maxRepetitions

protected short maxRepetitions

nonRepeaters

protected short nonRepeaters
Constructor Detail

AgentXGetBulkPDU

public AgentXGetBulkPDU(org.snmp4j.smi.OctetString context,
                        short maxRepetitions,
                        short nonRepeaters,
                        org.snmp4j.agent.MOScope[] ranges)

AgentXGetBulkPDU

public AgentXGetBulkPDU(AgentXMessageHeader header)
Method Detail

getMaxRepetitions

public short getMaxRepetitions()

getNonRepeaters

public short getNonRepeaters()

setMaxRepetitions

public void setMaxRepetitions(short maxRepetitions)

setNonRepeaters

public void setNonRepeaters(short nonRepeaters)

decodeAfterContext

protected void decodeAfterContext(java.nio.ByteBuffer buf,
                                  int length)
                           throws java.io.IOException
Overrides:
decodeAfterContext in class AgentXRequestPDU
Throws:
java.io.IOException

encodeAfterContext

protected void encodeAfterContext(java.nio.ByteBuffer buf)
Overrides:
encodeAfterContext in class AgentXRequestPDU

getAfterContextLength

protected int getAfterContextLength()
Overrides:
getAfterContextLength in class AgentXRequestPDU

toStringExtMembers

protected java.lang.String toStringExtMembers()
Overrides:
toStringExtMembers in class AgentXRequestPDU

Copyright 2005-2011 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.