Uses of Interface
org.snmp4j.MessageDispatcher
Packages that use MessageDispatcher
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 MessageDispatcher in org.snmp4j
Classes in org.snmp4j that implement MessageDispatcherModifier and TypeClassDescriptionclassTheMessageDispatcherImpldecodes and dispatches incoming messages usingMessageProcessingModelinstances and encodes and sends outgoing messages using an appropriateTransportMappinginstances.Methods in org.snmp4j that return MessageDispatcherModifier and TypeMethodDescriptionCommandResponderEvent.getMessageDispatcher()Gets the message dispatcher instance that received the command (request PDU) or unconfirmed PDU like a report, trap, or notification..Snmp.getMessageDispatcher()Returns the message dispatcher associated with this SNMP session.Methods in org.snmp4j with parameters of type MessageDispatcherModifier and TypeMethodDescriptionvoidSnmp.setMessageDispatcher(MessageDispatcher messageDispatcher) Sets the message dispatcher associated with this SNMP session.Constructors in org.snmp4j with parameters of type MessageDispatcherModifierConstructorDescriptionCommandResponderEvent(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.Snmp(MessageDispatcher messageDispatcher) Creates aSnmpinstance by supplying aMessageDispatcher.Snmp(MessageDispatcher messageDispatcher, TransportMapping<? extends Address> transportMapping) Creates aSnmpinstance by supplying aMessageDispatcherand aTransportMapping. -
Uses of MessageDispatcher in org.snmp4j.mp
Methods in org.snmp4j.mp with parameters of type MessageDispatcherModifier and TypeMethodDescriptionintMessageProcessingModel.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) intMPv3.sendReport(MessageDispatcher messageDispatcher, ScopedPDU pdu, int securityLevel, int securityModel, OctetString securityName, int maxSizeResponseScopedPDU, StateReference<?> stateReference, VariableBinding payload) Sends a report message. -
Uses of MessageDispatcher in org.snmp4j.util
Classes in org.snmp4j.util that implement MessageDispatcherModifier and TypeClassDescriptionclassTheMultiThreadedMessageDispatcherclass is a decorator for anyMessageDispatcherinstances that processes incoming message with a suppliedThreadPool.Methods in org.snmp4j.util with parameters of type MessageDispatcherModifier and TypeMethodDescriptionvoidSnmpConfigurator.configure(Snmp snmp, USM usm, MessageDispatcher messageDispatcher, Map<String, List<Object>> settings) Constructors in org.snmp4j.util with parameters of type MessageDispatcherModifierConstructorDescriptionMultiThreadedMessageDispatcher(WorkerPool workerPool, MessageDispatcher decoratedDispatcher) Creates a multi-threaded message dispatcher using the providedThreadPoolto concurrently process incoming messages that are forwarded to the supplied decoratedMessageDispatcher.