Class NetworkAdminUDPTester
java.lang.Object
com.biglybt.core.networkmanager.admin.impl.NetworkAdminUDPTester
- All Implemented Interfaces:
NetworkAdminProtocolTester
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Core
private final NetworkAdminProgressListener
static final String
static final String
static final int
static final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NetworkAdminUDPTester
(Core _core, NetworkAdminProgressListener _listener) -
Method Summary
Modifier and TypeMethodDescriptiontestInbound
(InetAddress bind_ip, int bind_port, boolean ipv6) testOutbound
(InetAddress bind_ip, int bind_port, boolean ipv6)
-
Field Details
-
UDP_SERVER_ADDRESS
- See Also:
-
UDP_SERVER_ADDRESS_V6
- See Also:
-
UDP_SERVER_PORT_V4
public static final int UDP_SERVER_PORT_V4- See Also:
-
UDP_SERVER_PORT_V6
public static final int UDP_SERVER_PORT_V6- See Also:
-
core
-
listener
-
-
Constructor Details
-
NetworkAdminUDPTester
-
-
Method Details
-
testOutbound
public InetAddress testOutbound(InetAddress bind_ip, int bind_port, boolean ipv6) throws NetworkAdminException - Specified by:
testOutbound
in interfaceNetworkAdminProtocolTester
- Throws:
NetworkAdminException
-
testInbound
public InetAddress testInbound(InetAddress bind_ip, int bind_port, boolean ipv6) throws NetworkAdminException - Specified by:
testInbound
in interfaceNetworkAdminProtocolTester
- Throws:
NetworkAdminException
-