public class AgentXVariableBindingPDU extends AgentXContextPDU
| Modifier and Type | Field and Description |
|---|---|
protected org.snmp4j.smi.VariableBinding[] |
variableBindings |
contextAGENTX_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,
org.snmp4j.smi.OctetString context,
org.snmp4j.smi.VariableBinding[] vbs) |
| Modifier and Type | Method and Description |
|---|---|
void |
decodeAfterContext(ByteBuffer buf,
int length) |
void |
encodeAfterContext(ByteBuffer buf) |
int |
getAfterContextLength() |
org.snmp4j.smi.VariableBinding[] |
getVariableBindings() |
void |
setVariableBindings(org.snmp4j.smi.VariableBinding[] variableBindings) |
int |
size() |
String |
toStringExtMembers() |
beforeEncode, decodePayload, encodePayload, getContext, getPayloadLength, setContextaddFlag, decode, encode, getByteOrder, getFlags, getPacketID, getSessionID, getTransactionID, getType, getVersion, isConfirmedPDU, isFlagSet, main, setByteOrder, setFlags, setPacketID, setSessionAttributes, setSessionID, setTransactionID, setType, setVersion, toStringprotected AgentXVariableBindingPDU(byte type,
org.snmp4j.smi.OctetString context,
org.snmp4j.smi.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 AgentXContextPDUIOExceptionpublic void encodeAfterContext(ByteBuffer buf)
encodeAfterContext in class AgentXContextPDUpublic int getAfterContextLength()
getAfterContextLength in class AgentXContextPDUpublic org.snmp4j.smi.VariableBinding[] getVariableBindings()
public void setVariableBindings(org.snmp4j.smi.VariableBinding[] variableBindings)
public int size()
public String toStringExtMembers()
toStringExtMembers in class AgentXContextPDUCopyright © 2020 SNMP4J.org. All rights reserved.