Class NetworkAdminHTTPTester
- java.lang.Object
-
- com.biglybt.core.networkmanager.admin.impl.NetworkAdminHTTPTester
-
- All Implemented Interfaces:
NetworkAdminProtocolTester
public class NetworkAdminHTTPTester extends java.lang.Object implements NetworkAdminProtocolTester
-
-
Field Summary
Fields Modifier and Type Field Description private Core
core
private NetworkAdminProgressListener
listener
-
Constructor Summary
Constructors Modifier Constructor Description protected
NetworkAdminHTTPTester(Core _core, NetworkAdminProgressListener _listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.InetAddress
testInbound(java.net.InetAddress bind_ip, int local_port, boolean ipv6)
java.net.InetAddress
testOutbound(java.net.InetAddress bind_ip, int bind_port, boolean ipv6)
-
-
-
Field Detail
-
core
private final Core core
-
listener
private final NetworkAdminProgressListener listener
-
-
Constructor Detail
-
NetworkAdminHTTPTester
protected NetworkAdminHTTPTester(Core _core, NetworkAdminProgressListener _listener)
-
-
Method Detail
-
testOutbound
public java.net.InetAddress testOutbound(java.net.InetAddress bind_ip, int bind_port, boolean ipv6) throws NetworkAdminException
- Specified by:
testOutbound
in interfaceNetworkAdminProtocolTester
- Throws:
NetworkAdminException
-
testInbound
public java.net.InetAddress testInbound(java.net.InetAddress bind_ip, int local_port, boolean ipv6) throws NetworkAdminException
- Specified by:
testInbound
in interfaceNetworkAdminProtocolTester
- Throws:
NetworkAdminException
-
-