org.snmp4j.agent.agentx
Class AgentXVariableBindingPDU

java.lang.Object
  extended by org.snmp4j.agent.agentx.AgentXPDU
      extended by org.snmp4j.agent.agentx.AgentXContextPDU
          extended by org.snmp4j.agent.agentx.AgentXVariableBindingPDU
Direct Known Subclasses:
AgentXIndexAllocatePDU, AgentXIndexDeallocatePDU, AgentXNotifyPDU, AgentXTestSetPDU

public class AgentXVariableBindingPDU
extends AgentXContextPDU


Field Summary
protected  org.snmp4j.smi.VariableBinding[] variableBindings
           
 
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
protected AgentXVariableBindingPDU(AgentXMessageHeader header)
           
protected AgentXVariableBindingPDU(byte type, byte flags, int sessionID, int transactionID, int packetID)
           
protected AgentXVariableBindingPDU(byte type, org.snmp4j.smi.OctetString context, org.snmp4j.smi.VariableBinding[] vbs)
           
 
Method Summary
 void decodeAfterContext(java.nio.ByteBuffer buf, int length)
           
 void encodeAfterContext(java.nio.ByteBuffer buf)
           
 int getAfterContextLength()
           
 org.snmp4j.smi.VariableBinding[] getVariableBindings()
           
 void setVariableBindings(org.snmp4j.smi.VariableBinding[] variableBindings)
           
 int size()
           
 java.lang.String toStringExtMembers()
           
 
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

variableBindings

protected org.snmp4j.smi.VariableBinding[] variableBindings
Constructor Detail

AgentXVariableBindingPDU

protected AgentXVariableBindingPDU(byte type,
                                   org.snmp4j.smi.OctetString context,
                                   org.snmp4j.smi.VariableBinding[] vbs)

AgentXVariableBindingPDU

protected AgentXVariableBindingPDU(AgentXMessageHeader header)

AgentXVariableBindingPDU

protected AgentXVariableBindingPDU(byte type,
                                   byte flags,
                                   int sessionID,
                                   int transactionID,
                                   int packetID)
Method Detail

decodeAfterContext

public void decodeAfterContext(java.nio.ByteBuffer buf,
                               int length)
                        throws java.io.IOException
Specified by:
decodeAfterContext in class AgentXContextPDU
Throws:
java.io.IOException

encodeAfterContext

public void encodeAfterContext(java.nio.ByteBuffer buf)
Specified by:
encodeAfterContext in class AgentXContextPDU

getAfterContextLength

public int getAfterContextLength()
Specified by:
getAfterContextLength in class AgentXContextPDU

getVariableBindings

public org.snmp4j.smi.VariableBinding[] getVariableBindings()

setVariableBindings

public void setVariableBindings(org.snmp4j.smi.VariableBinding[] variableBindings)

size

public int size()

toStringExtMembers

public java.lang.String toStringExtMembers()
Overrides:
toStringExtMembers in class AgentXContextPDU

Copyright 2005-2011 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.