public class AgentXVariableBindingPDU extends AgentXContextPDU
Modifier and Type | Field and Description |
---|---|
protected VariableBinding[] |
variableBindings |
context
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
Modifier | Constructor and Description |
---|---|
protected |
AgentXVariableBindingPDU(AgentXMessageHeader header) |
protected |
AgentXVariableBindingPDU(byte type,
byte flags,
int sessionID,
int transactionID,
int packetID) |
protected |
AgentXVariableBindingPDU(byte type,
OctetString context,
VariableBinding[] vbs) |
Modifier and Type | Method and Description |
---|---|
void |
decodeAfterContext(ByteBuffer buf,
int length) |
void |
encodeAfterContext(ByteBuffer buf) |
int |
getAfterContextLength() |
VariableBinding[] |
getVariableBindings() |
void |
setVariableBindings(VariableBinding[] variableBindings) |
int |
size() |
String |
toStringExtMembers() |
beforeEncode, decodePayload, encodePayload, getContext, getPayloadLength, setContext
addFlag, decode, encode, getByteOrder, getFlags, getPacketID, getSessionID, getTransactionID, getType, getVersion, isConfirmedPDU, isFlagSet, main, setByteOrder, setFlags, setPacketID, setSessionAttributes, setSessionID, setTransactionID, setType, setVersion, toString
protected VariableBinding[] variableBindings
protected AgentXVariableBindingPDU(byte type, OctetString context, VariableBinding[] vbs)
protected AgentXVariableBindingPDU(AgentXMessageHeader header)
protected AgentXVariableBindingPDU(byte type, byte flags, int sessionID, int transactionID, int packetID)
public void decodeAfterContext(ByteBuffer buf, int length) throws IOException
decodeAfterContext
in class AgentXContextPDU
IOException
public void encodeAfterContext(ByteBuffer buf)
encodeAfterContext
in class AgentXContextPDU
public int getAfterContextLength()
getAfterContextLength
in class AgentXContextPDU
public VariableBinding[] getVariableBindings()
public void setVariableBindings(VariableBinding[] variableBindings)
public int size()
public String toStringExtMembers()
toStringExtMembers
in class AgentXContextPDU
Copyright © 2016 SNMP4J.org. All rights reserved.