Class MockSnmpAgent.MockUdpTransportMapping

  • All Implemented Interfaces:
    org.snmp4j.TransportMapping<org.snmp4j.smi.UdpAddress>
    Enclosing class:
    MockSnmpAgent

    public static final class MockSnmpAgent.MockUdpTransportMapping
    extends org.snmp4j.transport.DefaultUdpTransportMapping
    • Field Summary

      • Fields inherited from class org.snmp4j.transport.DefaultUdpTransportMapping

        listener, listenerThread, socket
      • Fields inherited from class org.snmp4j.transport.UdpTransportMapping

        udpAddress
      • Fields inherited from class org.snmp4j.transport.AbstractTransportMapping

        asyncMsgProcessingSupported, maxInboundMessageSize, transportListener
    • Constructor Summary

      Constructors 
      Constructor Description
      MockUdpTransportMapping​(org.snmp4j.smi.UdpAddress udpAddress, boolean reuseAddress)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      InetAddress getInetAddress()  
      int getPort()  
      • Methods inherited from class org.snmp4j.transport.DefaultUdpTransportMapping

        close, getListenAddress, getPriority, getReceiveBufferSize, getSocketTimeout, getThreadName, isListening, listen, renewSocketAfterException, sendMessage, setMaxInboundMessageSize, setPriority, setReceiveBufferSize, setSocketTimeout, setThreadName
      • Methods inherited from class org.snmp4j.transport.UdpTransportMapping

        getAddress, getSupportedAddressClass
      • Methods inherited from class org.snmp4j.transport.AbstractTransportMapping

        addTransportListener, fireProcessMessage, getMaxInboundMessageSize, isAsyncMsgProcessingSupported, removeTransportListener, setAsyncMsgProcessingSupported
    • Constructor Detail

      • MockUdpTransportMapping

        public MockUdpTransportMapping​(org.snmp4j.smi.UdpAddress udpAddress,
                                       boolean reuseAddress)
                                throws IOException
        Throws:
        IOException
    • Method Detail

      • getPort

        public int getPort()