Uses of Package
org.snmp4j.transport
Package
Description
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
Provides classes and interfaces for SNMP4J event processing.
Provides transport protocol mappings for SNMP.
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
-
ClassDescriptionThe
TransportListener
interface is implemented by objects that process incoming messages fromTransportMapping
s, for exampleMessageDispatcher
.TheTransportType
defines the communication capabilities of aTransportMapping
regarding the communication initiation (thus its direction). -
ClassDescriptionThe
TransportListener
interface is implemented by objects that process incoming messages fromTransportMapping
s, for exampleMessageDispatcher
. -
ClassDescriptionThe
AbstractConnectionOrientedTransportMapping
implements generic functions for a connection oriented transport mapping for server and client connections.TheAbstractServerSocket
interface provides methods to manage the sockets of a connection oriented transport mapping listening for incoming requests.TheAbstractSocketEntry
extends theAbstractServerSocket
and implements a genericAddress
toSocketChannel
mapping to be used byTransportMapping
.TheAbstractTransportMapping
provides an abstract implementation for the message dispatcher list and the maximum inbound message size.TheAbstractTransportServerThread
is aWorkerTask
that serves server connections using Java NIO forConnectionOrientedTransportMapping
s.Transport mappings for connection oriented transport protocols have to implement this interface.TheDefaultUdpTransportMapping
implements a UDP transport mapping based on Java standard IO and using an internal thread for listening on the inbound socket.TheMessageLength
object contains information about the length of a message and the length of its header.TheMessageLengthDecoder
needs to be implemented for connection oriented transport mappings, because those transport mappings have no message boundaries.TheSocketTimeout
is aTimerTask
that provides means to detect when a socket is not used for predefined time and then close the socket and free its resources.TheTcpTransportMapping
is the abstract base class for TCP transport mappings.TheTransportListener
interface is implemented by objects that process incoming messages fromTransportMapping
s, for exampleMessageDispatcher
.TheTransportMappings
factory can be used to create a transport mapping for an address class.TheTransportStateEvent
describes a state change for a transport connection.TheTransportStateListener
interface can be implemented to monitor the connection state for connection oriented transport mappings.TheTransportType
defines the communication capabilities of aTransportMapping
regarding the communication initiation (thus its direction).TheUdpTransportMapping
is the abstract base class for UDP transport mappings. -
ClassDescriptionThe
TransportListener
interface is implemented by objects that process incoming messages fromTransportMapping
s, for exampleMessageDispatcher
.TheTransportType
defines the communication capabilities of aTransportMapping
regarding the communication initiation (thus its direction).