|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MessageDispatcher | |
---|---|
org.snmp4j | Provides classes and interfaces for creating, sending, and receiving SNMP messages. |
org.snmp4j.mp | Provides classes and interfaces for the SNMP message processing. |
org.snmp4j.transport | Provides transport protocol mappings for SNMP. |
org.snmp4j.util | 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 MessageDispatcher | |
---|---|
class |
MessageDispatcherImpl
The MessageDispatcherImpl decodes and dispatches incoming
messages using MessageProcessingModel instances and encodes
and sends outgoing messages using an appropriate TransportMapping
instances. |
Methods in org.snmp4j that return MessageDispatcher | |
---|---|
MessageDispatcher |
Snmp.getMessageDispatcher()
Returns the message dispatcher associated with this SNMP session. |
MessageDispatcher |
CommandResponderEvent.getMessageDispatcher()
Gets the message dispatcher instance that received the command (request PDU) or unconfirmed PDU like a report, trap, or notification.. |
Methods in org.snmp4j with parameters of type MessageDispatcher | |
---|---|
void |
TransportMapping.addMessageDispatcher(MessageDispatcher dispatcher)
Deprecated. Use TransportMapping.addTransportListener(org.snmp4j.transport.TransportListener) instead. This method has
been deprecated because the direct coupling between MessageDispatcher
and TransportMappings is not flexible enough and prevents reusing
TransportMappings for other purposes. This method will be removed
with SNMP4J 2.0. |
void |
TransportMapping.removeMessageDispatcher(MessageDispatcher dispatcher)
Deprecated. Use TransportMapping.removeTransportListener(org.snmp4j.transport.TransportListener) instead. |
Constructors in org.snmp4j with parameters of type MessageDispatcher | |
---|---|
CommandResponderEvent(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 a Snmp instance by supplying a
MessageDispatcher . |
|
Snmp(MessageDispatcher messageDispatcher,
TransportMapping transportMapping)
Creates a Snmp instance by supplying a
MessageDispatcher and a TransportMapping . |
Uses of MessageDispatcher in org.snmp4j.mp |
---|
Methods in org.snmp4j.mp with parameters of type MessageDispatcher | |
---|---|
int |
MessageProcessingModel.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference stateReference)
Prepare data elements from an incoming SNMP message as described in RFC3412 ยง7.2. |
int |
MPv2c.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference stateReference)
|
int |
MPv1.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference stateReference)
|
int |
MPv3.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference mutableStateReference)
|
int |
MPv3.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.transport |
---|
Methods in org.snmp4j.transport with parameters of type MessageDispatcher | |
---|---|
void |
AbstractTransportMapping.addMessageDispatcher(MessageDispatcher dispatcher)
|
void |
AbstractTransportMapping.removeMessageDispatcher(MessageDispatcher dispatcher)
|
Uses of MessageDispatcher in org.snmp4j.util |
---|
Classes in org.snmp4j.util that implement MessageDispatcher | |
---|---|
class |
MultiThreadedMessageDispatcher
The MultiThreadedMessageDispatcher class is a decorator
for any MessageDispatcher instances that processes incoming
message with a supplied ThreadPool . |
Constructors in org.snmp4j.util with parameters of type MessageDispatcher | |
---|---|
MultiThreadedMessageDispatcher(WorkerPool workerPool,
MessageDispatcher decoratedDispatcher)
Creates a multi thread message dispatcher using the provided ThreadPool to concurrently process incoming messages
that are forwarded to the supplied decorated
MessageDispatcher . |
|
Copyright 2005-2010 Frank Fock (SNMP4J.org) | |||||||||
PREV NEXT | FRAMES NO FRAMES |