Module org.snmp4j

Class DefaultTcpTransportMapping

All Implemented Interfaces:
Closeable, AutoCloseable, ConnectionOrientedTransportMapping<TcpAddress>, TransportMapping<TcpAddress>

public class DefaultTcpTransportMapping extends TcpTransportMapping<DefaultTcpTransportMapping.SocketEntry>
The DefaultTcpTransportMapping implements a TCP transport mapping with the Java 1.4 new IO API.

It uses a single thread for processing incoming and outgoing messages. The thread is started when the listen method is called, or when an outgoing request is sent using the sendMessage method.

Version:
3.0
Author:
Frank Fock