Package org.opennms.mock.snmp
Class MockSnmpAgent.MockUdpTransportMapping
- java.lang.Object
-
- org.snmp4j.transport.AbstractTransportMapping<org.snmp4j.smi.UdpAddress>
-
- org.snmp4j.transport.UdpTransportMapping
-
- org.snmp4j.transport.DefaultUdpTransportMapping
-
- org.opennms.mock.snmp.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
-
-
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 java.net.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
-
-