public class AgentXAddAgentCapsPDU extends AgentXContextPDU
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
Constructor and Description |
---|
AgentXAddAgentCapsPDU(AgentXMessageHeader header) |
AgentXAddAgentCapsPDU(OctetString context,
OID id,
OctetString descr) |
Modifier and Type | Method and Description |
---|---|
void |
decodeAfterContext(ByteBuffer buf,
int length) |
void |
encodeAfterContext(ByteBuffer buf) |
int |
getAfterContextLength() |
OctetString |
getDescr() |
OID |
getId() |
void |
setDescr(OctetString descr) |
void |
setId(OID id) |
beforeEncode, decodePayload, encodePayload, getContext, getPayloadLength, setContext, toStringExtMembers
addFlag, decode, encode, getByteOrder, getFlags, getPacketID, getSessionID, getTransactionID, getType, getVersion, isConfirmedPDU, isFlagSet, main, setByteOrder, setFlags, setPacketID, setSessionAttributes, setSessionID, setTransactionID, setType, setVersion, toString
public AgentXAddAgentCapsPDU(AgentXMessageHeader header)
public AgentXAddAgentCapsPDU(OctetString context, OID id, OctetString descr)
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 OctetString getDescr()
public OID getId()
public void setDescr(OctetString descr)
public void setId(OID id)
Copyright © 2016 SNMP4J.org. All rights reserved.