Class NetworkAdminUDPTester
java.lang.Object
com.biglybt.core.networkmanager.admin.impl.NetworkAdminUDPTester
- All Implemented Interfaces:
NetworkAdminProtocolTester
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Coreprivate final NetworkAdminProgressListenerstatic final Stringstatic final Stringstatic final intstatic final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNetworkAdminUDPTester(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:
testOutboundin interfaceNetworkAdminProtocolTester- Throws:
NetworkAdminException
-
testInbound
public InetAddress testInbound(InetAddress bind_ip, int bind_port, boolean ipv6) throws NetworkAdminException - Specified by:
testInboundin interfaceNetworkAdminProtocolTester- Throws:
NetworkAdminException
-