Package org.snmp4j.agent.agentx
Class AgentXNotifyPDU
java.lang.Object
org.snmp4j.agent.agentx.AgentXPDU
org.snmp4j.agent.agentx.AgentXContextPDU
org.snmp4j.agent.agentx.AgentXVariableBindingPDU
org.snmp4j.agent.agentx.AgentXNotifyPDU
- All Implemented Interfaces:
Serializable
The
AgentXNotifyPDU represents the agentx-Notify-PDU defined by RFC 2741.- See Also:
-
Field Summary
Fields inherited from class org.snmp4j.agent.agentx.AgentXVariableBindingPDU
variableBindingsFields inherited from class org.snmp4j.agent.agentx.AgentXContextPDU
contextFields 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
ConstructorsConstructorDescriptionAgentXNotifyPDU(AgentXMessageHeader header) Creates aAgentXGetNextPDUfrom aAgentXMessageHeader.AgentXNotifyPDU(org.snmp4j.smi.OctetString context, org.snmp4j.smi.VariableBinding[] vbs) Creates aAgentXNotifyPDU. -
Method Summary
Methods inherited from class org.snmp4j.agent.agentx.AgentXVariableBindingPDU
decodeAfterContext, encodeAfterContext, getAfterContextLength, getVariableBindings, setVariableBindings, size, toStringExtMembersMethods inherited from class org.snmp4j.agent.agentx.AgentXContextPDU
beforeEncode, decodePayload, encodePayload, getContext, getPayloadLength, setContextMethods inherited from class org.snmp4j.agent.agentx.AgentXPDU
addFlag, decode, encode, getByteOrder, getFlags, getPacketID, getSessionID, getTransactionID, getType, getVersion, isConfirmedPDU, isFlagSet, setByteOrder, setFlags, setPacketID, setSessionAttributes, setSessionID, setTransactionID, setType, setVersion, toString
-
Constructor Details
-
AgentXNotifyPDU
public AgentXNotifyPDU(org.snmp4j.smi.OctetString context, org.snmp4j.smi.VariableBinding[] vbs) Creates aAgentXNotifyPDU.- Parameters:
context- the SNMPv3 context.vbs- theVariableBindings of the notification (including trap OID, etc.).
-
AgentXNotifyPDU
Creates aAgentXGetNextPDUfrom aAgentXMessageHeader.- Parameters:
header- the message header.
-