|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TransportMapping | |
---|---|
org.snmp4j | Provides classes and interfaces for creating, sending, and receiving SNMP messages. |
org.snmp4j.event | Provides classes and interfaces for SNMP4J event processing. |
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 TransportMapping in org.snmp4j |
---|
Methods in org.snmp4j that return TransportMapping | |
---|---|
TransportMapping |
MessageDispatcher.getTransport(Address destAddress)
Returns a transport mapping that can handle the supplied address. |
TransportMapping |
MessageDispatcherImpl.getTransport(Address destAddress)
Returns a transport mapping that can handle the supplied address. |
TransportMapping |
CommandResponderEvent.getTransportMapping()
Returns the transport mapping that received the PDU that triggered this event. |
TransportMapping |
MessageDispatcher.removeTransportMapping(TransportMapping transport)
Removes a previously added TransportMapping from
the dispatcher. |
TransportMapping |
MessageDispatcherImpl.removeTransportMapping(TransportMapping transport)
Removes a transport mapping. |
Methods in org.snmp4j with parameters of type TransportMapping | |
---|---|
void |
Snmp.addTransportMapping(TransportMapping transportMapping)
Adds a TransportMapping to this SNMP session. |
void |
MessageDispatcher.addTransportMapping(TransportMapping transport)
Adds a TransportMapping to the dispatcher. |
void |
MessageDispatcherImpl.addTransportMapping(TransportMapping transport)
Adds a transport mapping. |
protected void |
MessageDispatcherImpl.dispatchMessage(TransportMapping sourceTransport,
MessageProcessingModel mp,
Address incomingAddress,
BERInputStream wholeMessage)
Actually decodes and dispatches an incoming SNMP message using the supplied message processing model. |
void |
MessageDispatcher.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
BERInputStream wholeMessage)
Deprecated. Use MessageDispatcher.processMessage(TransportMapping,Address,ByteBuffer)
instead. |
void |
MessageDispatcherImpl.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
BERInputStream wholeMessage)
|
void |
MessageDispatcher.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
java.nio.ByteBuffer wholeMessage)
Process an incoming SNMP message. |
void |
MessageDispatcherImpl.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
java.nio.ByteBuffer wholeMessage)
|
void |
Snmp.removeTransportMapping(TransportMapping transportMapping)
Removes the specified transport mapping from this SNMP session. |
TransportMapping |
MessageDispatcher.removeTransportMapping(TransportMapping transport)
Removes a previously added TransportMapping from
the dispatcher. |
TransportMapping |
MessageDispatcherImpl.removeTransportMapping(TransportMapping transport)
Removes a transport mapping. |
ResponseEvent |
Snmp.send(PDU pdu,
Target target,
TransportMapping transport)
Sends a PDU to the given target and if the PDU
is a confirmed request, then the received response is returned
synchronously. |
ResponseEvent |
Session.send(PDU pdu,
Target target,
TransportMapping transport)
Sends a PDU to the given target and returns the received
response PDU encapsulated in a ResponseEvent
object that also includes:
the transport address of the response sending peer,
the Target information of the target,
the request PDU ,
the response PDU (if any). |
void |
Snmp.send(PDU pdu,
Target target,
TransportMapping transport,
java.lang.Object userHandle,
ResponseListener listener)
|
void |
Session.send(PDU pdu,
Target target,
TransportMapping transport,
java.lang.Object userHandle,
ResponseListener listener)
Asynchronously sends a PDU to the given target. |
protected PduHandle |
Snmp.sendMessage(PDU pdu,
Target target,
TransportMapping transport,
PduHandleCallback pduHandleCallback)
Actually sends a PDU to a target and returns a handle for the sent PDU. |
protected void |
MessageDispatcherImpl.sendMessage(TransportMapping transport,
Address destAddress,
byte[] message)
Sends a message using the TransportMapping that has been
assigned for the supplied address type. |
PduHandle |
MessageDispatcher.sendPdu(TransportMapping transportMapping,
Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse)
Sends a PDU to the supplied transport address. |
PduHandle |
MessageDispatcherImpl.sendPdu(TransportMapping transportMapping,
Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse)
|
PduHandle |
MessageDispatcher.sendPdu(TransportMapping transportMapping,
Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse,
PduHandleCallback callback)
Sends a PDU to the supplied transport address and returns the PduHandle that uniquely identifies the request as response
after the request has been sent and otional, if a
PduHandleCallback is given, it returns also the
PduHandle just before the request is sent through the
the callback interface. |
PduHandle |
MessageDispatcherImpl.sendPdu(TransportMapping transport,
Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse,
PduHandleCallback pduHandleCallback)
|
protected void |
CommandResponderEvent.setTransportMapping(TransportMapping transportMapping)
|
Constructors in org.snmp4j with parameters of type TransportMapping | |
---|---|
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,
TransportMapping transportMapping)
Creates a Snmp instance by supplying a
MessageDispatcher and a TransportMapping . |
|
Snmp(TransportMapping transportMapping)
Creates a Snmp instance that uses a
MessageDispatcherImpl with all supported message processing
models and the default security protols for dispatching. |
Uses of TransportMapping in org.snmp4j.event |
---|
Methods in org.snmp4j.event that return TransportMapping | |
---|---|
TransportMapping |
AuthenticationFailureEvent.getTransport()
Returns the transport mapping over which the message has bee received. |
Constructors in org.snmp4j.event with parameters of type TransportMapping | |
---|---|
AuthenticationFailureEvent(java.lang.Object source,
Address sourceAddress,
TransportMapping transport,
int error,
BERInputStream message)
Creates an authentication failure event. |
Uses of TransportMapping in org.snmp4j.mp |
---|
Methods in org.snmp4j.mp that return TransportMapping | |
---|---|
TransportMapping |
StateReference.getTransportMapping()
|
Methods in org.snmp4j.mp with parameters of type TransportMapping | |
---|---|
void |
StateReference.setTransportMapping(TransportMapping transportMapping)
|
Constructors in org.snmp4j.mp with parameters of type TransportMapping | |
---|---|
StateReference(int msgID,
int msgFlags,
int maxSizeResponseScopedPDU,
PduHandle pduHandle,
Address peerAddress,
TransportMapping 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,
Address peerAddress,
TransportMapping peerTransport,
SecurityModel secModel,
byte[] secName,
int errorCode)
Creates a state reference for community based security models. |
Uses of TransportMapping in org.snmp4j.transport |
---|
Subinterfaces of TransportMapping in org.snmp4j.transport | |
---|---|
interface |
ConnectionOrientedTransportMapping
Transport mappings for connection oriented transport protocols have to implement this interface. |
Classes in org.snmp4j.transport that implement TransportMapping | |
---|---|
class |
AbstractTransportMapping
The AbstractTransportMapping provides an abstract
implementation for the message dispatcher list and the maximum inbound
message size. |
class |
DefaultTcpTransportMapping
The DefaultTcpTransportMapping implements a TCP transport
mapping with the Java 1.4 new IO API. |
class |
DefaultUdpTransportMapping
The DefaultUdpTransportMapping implements a UDP transport
mapping based on Java standard IO and using an internal thread for
listening on the inbound socket. |
class |
TcpTransportMapping
The TcpTransportMapping is the abstract base class for
TCP transport mappings. |
class |
UdpTransportMapping
The UdpTransportMapping is the abstract base class for
UDP transport mappings. |
Methods in org.snmp4j.transport that return TransportMapping | |
---|---|
TransportMapping |
TransportMappings.createTransportMapping(Address transportAddress)
Returns a TransportMapping instance that is initialized with
the supplied transport address. |
Methods in org.snmp4j.transport with parameters of type TransportMapping | |
---|---|
void |
TransportListener.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
java.nio.ByteBuffer wholeMessage)
Processes an incoming message. |
Uses of TransportMapping in org.snmp4j.util |
---|
Methods in org.snmp4j.util that return TransportMapping | |
---|---|
TransportMapping |
MultiThreadedMessageDispatcher.getTransport(Address destAddress)
|
TransportMapping |
MultiThreadedMessageDispatcher.removeTransportMapping(TransportMapping transport)
|
Methods in org.snmp4j.util with parameters of type TransportMapping | |
---|---|
void |
MultiThreadedMessageDispatcher.addTransportMapping(TransportMapping transport)
|
void |
MultiThreadedMessageDispatcher.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
BERInputStream wholeMessage)
|
void |
MultiThreadedMessageDispatcher.processMessage(TransportMapping sourceTransport,
Address incomingAddress,
java.nio.ByteBuffer wholeMessage)
|
TransportMapping |
MultiThreadedMessageDispatcher.removeTransportMapping(TransportMapping transport)
|
PduHandle |
MultiThreadedMessageDispatcher.sendPdu(TransportMapping transportMapping,
Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse)
|
PduHandle |
MultiThreadedMessageDispatcher.sendPdu(TransportMapping transportMapping,
Address transportAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
boolean expectResponse,
PduHandleCallback callback)
|
|
Copyright 2005-2010 Frank Fock (SNMP4J.org) | |||||||||
PREV NEXT | FRAMES NO FRAMES |