Uses of Class
org.snmp4j.mp.PduHandle
Package
Description
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
Provides classes and interfaces for the SNMP message processing.
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
-
Uses of PduHandle in org.snmp4j
Modifier and TypeMethodDescriptionprotected PduHandle
MessageDispatcherImpl.createPduHandle()
CommandResponderEvent.getPduHandle()
Snmp.sendMessage
(PDU pdu, Target<A> target, TransportMapping<? super A> transport, PduHandleCallback<PDU> pduHandleCallback) Actually sends a PDU to a target and returns a handle for the sent PDU.Sends a PDU to the supplied transport address.MessageDispatcher.sendPdu
(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse) Sends a PDU to the supplied transport address.MessageDispatcher.sendPdu
(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> callback) Sends a PDU to the supplied transport address and returns thePduHandle
that uniquely identifies the request as response after the request has been sent and optional, if aPduHandleCallback
is given, it returns also thePduHandle
just before the request is sent through the the callback interface.MessageDispatcherImpl.sendPdu
(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse) MessageDispatcherImpl.sendPdu
(TransportMapping<? super A> transport, Target<A> target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> pduHandleCallback) Modifier and TypeMethodDescriptionvoid
Snmp.PendingRequest.pduHandleAssigned
(PduHandle handle, PDU pdu) <A extends Address>
voidSnmp.ReportHandler.processReport
(PduHandle pduHandle, CommandResponderEvent<A> event) protected void
Snmp.PendingRequest.registerRequest
(PduHandle handle) void
MessageDispatcher.releaseStateReference
(int messageProcessingModel, PduHandle pduHandle) Release any state references associated with the suppliedPduHandle
in the specified message processing model.void
MessageDispatcherImpl.releaseStateReference
(int messageProcessingModel, PduHandle pduHandle) void
CommandResponderEvent.setPduHandle
(PduHandle pduHandle) ModifierConstructorDescriptionCommandResponderEvent
(MessageDispatcher messageDispatcher, TransportMapping<? super A> transportMapping, A sourceAddress, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PduHandle pduHandle, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference) Constructs an event for processing an incoming request or notification PDU. -
Uses of PduHandle in org.snmp4j.mp
Modifier and TypeMethodDescriptionvoid
Copy all members from the suppliedPduHandle
.boolean
MPv3.Cache.deleteEntry
(PduHandle pduHandle) Delete the cache entry with the suppliedPduHandle
.void
PduHandleCallback.pduHandleAssigned
(PduHandle handle, P pdu) A new PduHandle has been created for a PDU.<A extends Address>
intMessageProcessingModel.prepareDataElements
(MessageDispatcher messageDispatcher, A transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference<A> mutableStateReference) Prepare data elements from an incoming SNMP message as described in RFC3412 §7.2.<A extends Address>
intMPv1.prepareDataElements
(MessageDispatcher messageDispatcher, A transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference<A> mutableStateReference) <A extends Address>
intMPv2c.prepareDataElements
(MessageDispatcher messageDispatcher, A transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference<A> mutableStateReference) <A extends Address>
intMPv3.prepareDataElements
(MessageDispatcher messageDispatcher, A transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference<A> mutableStateReference) <A extends Address>
intMessageProcessingModel.prepareOutgoingMessage
(A transportAddress, int maxMsgSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) Prepares an outgoing message as defined in RFC3412 §7.1.<A extends Address>
intMPv1.prepareOutgoingMessage
(A transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) <A extends Address>
intMPv2c.prepareOutgoingMessage
(A transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) <A extends Address>
intMPv3.prepareOutgoingMessage
(A transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) void
MessageProcessingModel.releaseStateReference
(PduHandle pduHandle) Release the state reference associated with the suppliedPduHandle
.void
MPv1.releaseStateReference
(PduHandle pduHandle) void
MPv2c.releaseStateReference
(PduHandle pduHandle) void
MPv3.releaseStateReference
(PduHandle pduHandle) void
StateReference.setPduHandle
(PduHandle pduHandle) protected void
StateReference.updateRequestStatisticsPduHandle
(PduHandle pduHandle) ModifierConstructorDescriptionStateReference
(int msgID, int msgFlags, int maxSizeResponseScopedPDU, PduHandle pduHandle, A peerAddress, TransportMapping<? super A> peerTransport, byte[] secEngineID, SecurityModel secModel, byte[] secName, int secLevel, byte[] contextEngineID, byte[] contextName, SecurityStateReference secStateReference, int errorCode) Creates a state reference for SNMPv3 messages.StateReference
(PduHandle pduHandle, A peerAddress, TransportMapping<? super A> peerTransport, SecurityModel secModel, byte[] secName, int errorCode) Creates a state reference for community based security models. -
Uses of PduHandle in org.snmp4j.util
Modifier and TypeMethodDescriptionMultiThreadedMessageDispatcher.sendPdu
(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse) MultiThreadedMessageDispatcher.sendPdu
(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> callback) Modifier and TypeMethodDescriptionvoid
MultiThreadedMessageDispatcher.releaseStateReference
(int messageProcessingModel, PduHandle pduHandle)