public class AgentXRegisterPDU 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
Modifier | Constructor and Description |
---|---|
|
AgentXRegisterPDU(AgentXMessageHeader header) |
|
AgentXRegisterPDU(byte flags,
int sessionID,
int transactionID,
int packetID) |
protected |
AgentXRegisterPDU(byte type,
OctetString context,
OID subtree,
byte priority,
byte rangeSubID,
int upperBound) |
|
AgentXRegisterPDU(OctetString context,
OID subtree,
byte priority,
byte rangeSubID,
int upperBound) |
Modifier and Type | Method and Description |
---|---|
void |
decodeAfterContext(ByteBuffer buf,
int length) |
protected void |
encodeAfterContext(ByteBuffer buf) |
int |
getAfterContextLength() |
OctetString |
getContext() |
byte |
getPriority() |
byte |
getRangeSubID() |
AgentXRegion |
getRegion() |
OID |
getSubtree() |
byte |
getTimeout() |
int |
getUpperBound() |
void |
setContext(OctetString context) |
void |
setPriority(byte priority) |
void |
setRangeSubID(byte rangeSubID) |
void |
setSubtree(OID subtree) |
void |
setTimeout(byte timeout) |
void |
setUpperBound(int upperBound) |
protected String |
toStringExtMembers() |
beforeEncode, decodePayload, encodePayload, getPayloadLength
addFlag, decode, encode, getByteOrder, getFlags, getPacketID, getSessionID, getTransactionID, getType, getVersion, isConfirmedPDU, isFlagSet, main, setByteOrder, setFlags, setPacketID, setSessionAttributes, setSessionID, setTransactionID, setType, setVersion, toString
public AgentXRegisterPDU(byte flags, int sessionID, int transactionID, int packetID)
public AgentXRegisterPDU(AgentXMessageHeader header)
public AgentXRegisterPDU(OctetString context, OID subtree, byte priority, byte rangeSubID, int upperBound)
protected AgentXRegisterPDU(byte type, OctetString context, OID subtree, byte priority, byte rangeSubID, int upperBound)
public void decodeAfterContext(ByteBuffer buf, int length) throws IOException
decodeAfterContext
in class AgentXContextPDU
IOException
public OctetString getContext()
getContext
in class AgentXContextPDU
public byte getPriority()
public byte getRangeSubID()
public OID getSubtree()
public byte getTimeout()
public int getUpperBound()
public void setContext(OctetString context)
setContext
in class AgentXContextPDU
public void setPriority(byte priority)
public void setRangeSubID(byte rangeSubID)
public void setSubtree(OID subtree)
public void setTimeout(byte timeout)
public void setUpperBound(int upperBound)
public int getAfterContextLength()
getAfterContextLength
in class AgentXContextPDU
public AgentXRegion getRegion()
protected void encodeAfterContext(ByteBuffer buf)
encodeAfterContext
in class AgentXContextPDU
protected String toStringExtMembers()
toStringExtMembers
in class AgentXContextPDU
Copyright © 2016 SNMP4J.org. All rights reserved.