Uses of Class
org.snmp4j.agent.agentx.AgentXPDU
-
Uses of AgentXPDU in org.snmp4j.agent.agentx
Modifier and TypeClassDescriptionclass
TheAgentXAddAgentCapsPDU
represents an agentx-AddAgentCaps-PDU from RFC 2741.class
TheAgentXCleanupSetPDU
represents the agentx-CleanupSet-PDU defined by RFC 2741.class
TheAgentXClosePDU
represents the agentx-Close-PDU from RFC 2741.class
TheAgentXCommitSetPDU
represents the agentx-CleanupSet-PDU defined by RFC 2741.class
AAgentXContextPDU
is aAgentXPDU
with context support.class
TheAgentXGetBulkPDU
represents the agentx-GetBulk-PDU defined by RFC 2741.class
TheAgentXGetNextPDU
represents the agentx-GetNext-PDU defined by RFC 2741.class
TheAgentXGetPDU
represents the agentx-Get-PDU defined by RFC 2741.class
TheAgentXIndexAllocatePDU
represents the agentx-IndexAllocate-PDU defined by RFC 2741.class
TheAgentXIndexDeallocatePDU
represents the agentx-IndexDeallocate-PDU defined by RFC 2741.class
TheAgentXNotifyPDU
represents the agentx-Notify-PDU defined by RFC 2741.class
TheAgentXOpenPDU
represents the agentx-CleanupSet-PDU defined by RFC 2741.class
TheAgentXPingPDU
represents the agentx-Notify-PDU defined by RFC 2741.class
TheAgentXRegisterPDU
represents the agentx-Register-PDU defined by RFC 2741.class
TheAgentXRemoveAgentCapsPDU
represents a MIB region which can be an entire MIB or a single object-instance.class
TheAgentXRequestPDU
represents the base class for all agentx-Get*Request-PDUs defined by RFC 2741.class
heAgentXResponsePDU
represents the agentx-Regsponse-PDU defined by RFC 2741.class
TheAgentXTestSetPDU
represents the agentx-TestSet-PDU defined by RFC 2741.class
TheAgentXUndoSetPDU
represents the agentx-UndoSet-PDU defined by RFC 2741.class
TheAgentXUnregisterPDU
represents the agentx-Unregister-PDU defined by RFC 2741.class
TheAgentXVariableBindingPDU
is the base class for all AgentX PDUs with a list ofVariableBinding
s.Modifier and TypeMethodDescriptionstatic AgentXPDU
AgentXPDU.decode
(ByteBuffer buf) DecodeAgentXPDU
from a byte buffer.AgentXCommandEvent.getCommand()
Gets the command.AgentXResponseEvent.getRequest()
Gets the request PDU.Modifier and TypeMethodDescription<A extends org.snmp4j.smi.Address>
AgentXResponseEvent<A> AgentX.send
(AgentXPDU pdu, AgentXTarget<A> target, org.snmp4j.TransportMapping<? super A> transport) Sends aAgentXPDU
to the given target and returns the response synchronously.<A extends org.snmp4j.smi.Address>
voidAgentX.send
(AgentXPDU pdu, AgentXTarget<A> target, org.snmp4j.TransportMapping<? super A> transport, Object userHandle, AgentXResponseListener listener) Sends aAgentXPDU
to the given target and returns the response asynchronously.<A extends org.snmp4j.smi.Address>
org.snmp4j.mp.PduHandleAgentXMessageDispatcher.send
(org.snmp4j.TransportMapping<? super A> transport, A address, AgentXPDU message, org.snmp4j.mp.PduHandleCallback<AgentXPDU> pduHandleCallback) Sends a AgentX PDU to the specified address using the specified transport mapping.<A extends org.snmp4j.smi.Address>
org.snmp4j.mp.PduHandleAgentXMessageDispatcherImpl.send
(org.snmp4j.TransportMapping<? super A> transport, A address, AgentXPDU message, org.snmp4j.mp.PduHandleCallback<AgentXPDU> callback) Sends aAgentXPDU
to a target.protected <A extends org.snmp4j.smi.Address>
org.snmp4j.mp.PduHandleAgentX.sendMessage
(AgentXPDU pdu, AgentXTarget<A> target, org.snmp4j.TransportMapping<? super A> transport, org.snmp4j.mp.PduHandleCallback<AgentXPDU> pduHandleCallback) Actually sends a PDU to a target and returns a handle for the sent PDU.protected final void
AgentXResponseEvent.setRequest
(AgentXPDU request) Sets the request PDU.Modifier and TypeMethodDescription<A extends org.snmp4j.smi.Address>
org.snmp4j.mp.PduHandleAgentXMessageDispatcher.send
(org.snmp4j.TransportMapping<? super A> transport, A address, AgentXPDU message, org.snmp4j.mp.PduHandleCallback<AgentXPDU> pduHandleCallback) Sends a AgentX PDU to the specified address using the specified transport mapping.<A extends org.snmp4j.smi.Address>
org.snmp4j.mp.PduHandleAgentXMessageDispatcherImpl.send
(org.snmp4j.TransportMapping<? super A> transport, A address, AgentXPDU message, org.snmp4j.mp.PduHandleCallback<AgentXPDU> callback) Sends aAgentXPDU
to a target.protected <A extends org.snmp4j.smi.Address>
org.snmp4j.mp.PduHandleAgentX.sendMessage
(AgentXPDU pdu, AgentXTarget<A> target, org.snmp4j.TransportMapping<? super A> transport, org.snmp4j.mp.PduHandleCallback<AgentXPDU> pduHandleCallback) Actually sends a PDU to a target and returns a handle for the sent PDU.ModifierConstructorDescriptionAgentXCommandEvent
(Object source, AgentXMessageDispatcher dispatcher, A peerAddress, org.snmp4j.transport.ConnectionOrientedTransportMapping<A> peerTransport, AgentXPDU command, org.snmp4j.TransportStateReference tmStateReference) Creates a new command event.AgentXResponseEvent
(Object source, AgentXTarget<A> target, A peerAddress, AgentXPDU request, AgentXResponsePDU response, Object userObject) Creates anAgentXResponseEvent
instance.AgentXResponseEvent
(Object source, AgentXTarget<A> target, A peerAddress, AgentXPDU request, AgentXResponsePDU response, Object userObject, Exception error) Creates anResponseEvent
instance with an exception object indicating a message processing error. -
Uses of AgentXPDU in org.snmp4j.agent.agentx.master
Modifier and TypeMethodDescriptionAgentXPending.getAgentXPDU()
Gets the AgentX PDU.AgentXPendingClose.getAgentXPDU()
AgentXPendingGet.getAgentXPDU()
AgentXPendingSet.getAgentXPDU()
Modifier and TypeMethodDescriptionprotected AgentXResponsePDU
AgentXCommandProcessor.createResponse
(AgentXPDU request, AgentXSession<?> session) Create a response for an AgentX request.protected AgentXMasterSession
<?> AgentXCommandProcessor.getSession
(AgentXPDU pdu) Gets the session for anAgentXPDU
.protected <A extends org.snmp4j.smi.Address>
voidAgentXCommandProcessor.sendResponse
(AgentXPDU response, AgentXSession<A> session) Sends a response to a session.