Uses of Class
org.snmp4j.mp.PduHandle
Packages that use 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
Methods in org.snmp4j that return PduHandleModifier and TypeMethodDescriptionprotected PduHandleMessageDispatcherImpl.createPduHandle()CommandResponderEvent.getPduHandle()protected PduHandleSnmp.sendMessage(PDU pdu, Target target, TransportMapping 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 transportMapping, Target target, PDU pdu, boolean expectResponse) Sends a PDU to the supplied transport address.MessageDispatcher.sendPdu(TransportMapping transportMapping, Target target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> callback) Sends a PDU to the supplied transport address and returns thePduHandlethat uniquely identifies the request as response after the request has been sent and optional, if aPduHandleCallbackis given, it returns also thePduHandlejust before the request is sent through the the callback interface.MessageDispatcherImpl.sendPdu(TransportMapping transportMapping, Target target, PDU pdu, boolean expectResponse) MessageDispatcherImpl.sendPdu(TransportMapping transport, Target target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> pduHandleCallback) Methods in org.snmp4j with parameters of type PduHandleModifier and TypeMethodDescriptionvoidSnmp.ReportHandler.processReport(PduHandle pduHandle, CommandResponderEvent event) voidMessageDispatcher.releaseStateReference(int messageProcessingModel, PduHandle pduHandle) Release any state references associated with the suppliedPduHandlein the specified message processing model.voidMessageDispatcherImpl.releaseStateReference(int messageProcessingModel, PduHandle pduHandle) voidCommandResponderEvent.setPduHandle(PduHandle pduHandle) Constructors in org.snmp4j with parameters of type PduHandleModifierConstructorDescriptionCommandResponderEvent(MessageDispatcher messageDispatcher, TransportMapping transportMapping, Address sourceAddress, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PduHandle pduHandle, PDU pdu, int maxSizeResponseScopedPDU, StateReference stateReference) Constructs an event for processing an incoming request or notification PDU. -
Uses of PduHandle in org.snmp4j.mp
Methods in org.snmp4j.mp that return PduHandleMethods in org.snmp4j.mp with parameters of type PduHandleModifier and TypeMethodDescriptionvoidCopy all members from the suppliedPduHandle.booleanMPv3.Cache.deleteEntry(PduHandle pduHandle) Delete the cache entry with the suppliedPduHandle.voidPduHandleCallback.pduHandleAssigned(PduHandle handle, P pdu) A new PduHandle has been created for a PDU.intMessageProcessingModel.prepareDataElements(MessageDispatcher messageDispatcher, Address transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference mutableStateReference) Prepare data elements from an incoming SNMP message as described in RFC3412 §7.2.intMPv1.prepareDataElements(MessageDispatcher messageDispatcher, Address transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference mutableStateReference) intMPv2c.prepareDataElements(MessageDispatcher messageDispatcher, Address transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference mutableStateReference) intMPv3.prepareDataElements(MessageDispatcher messageDispatcher, Address transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference mutableStateReference) intMessageProcessingModel.prepareOutgoingMessage(Address transportAddress, int maxMsgSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, Address destTransportAddress, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) Prepares an outgoing message as defined in RFC3412 §7.1.intMPv1.prepareOutgoingMessage(Address transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, Address destTransportAddress, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) intMPv2c.prepareOutgoingMessage(Address transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, Address destTransportAddress, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) intMPv3.prepareOutgoingMessage(Address transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, Address destTransportAddress, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) voidMessageProcessingModel.releaseStateReference(PduHandle pduHandle) Release the state reference associated with the suppliedPduHandle.voidMPv1.releaseStateReference(PduHandle pduHandle) voidMPv2c.releaseStateReference(PduHandle pduHandle) voidMPv3.releaseStateReference(PduHandle pduHandle) voidStateReference.setPduHandle(PduHandle pduHandle) protected voidStateReference.updateRequestStatisticsPduHandle(PduHandle pduHandle) Constructors in org.snmp4j.mp with parameters of type PduHandleModifierConstructorDescriptionStateReference(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
Methods in org.snmp4j.util that return PduHandleModifier and TypeMethodDescriptionMultiThreadedMessageDispatcher.sendPdu(TransportMapping transportMapping, Target target, PDU pdu, boolean expectResponse) MultiThreadedMessageDispatcher.sendPdu(TransportMapping transportMapping, Target target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> callback) Methods in org.snmp4j.util with parameters of type PduHandleModifier and TypeMethodDescriptionvoidMultiThreadedMessageDispatcher.releaseStateReference(int messageProcessingModel, PduHandle pduHandle)