Module org.snmp4j

Class DummyTransport<A extends IpAddress>

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, TransportMapping<A>

    public class DummyTransport<A extends IpAddress>
    extends AbstractTransportMapping<A>
    The DummyTransport is a test TransportMapping for Command Generators which actually does not sent messages over the network. Instead it provides the message transparently as incoming message over the DummyTransport.DummyTransportResponder on a virtual listen address, regardless to which outbound address the message was sent. The messages are returned even if the listenAddress is left null.
    Since:
    2.0
    Author:
    Frank Fock