Class NetworkAdminProtocolImpl
java.lang.Object
com.biglybt.core.networkmanager.admin.impl.NetworkAdminProtocolImpl
- All Implemented Interfaces:
NetworkAdminProtocol
-
Field Summary
FieldsFields inherited from interface com.biglybt.core.networkmanager.admin.NetworkAdminProtocol
PT_HTTP, PT_TCP, PT_UDP
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NetworkAdminProtocolImpl
(Core _core, int _type) protected
NetworkAdminProtocolImpl
(Core _core, int _type, int _port) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
int
getPort()
int
getType()
test
(NetworkAdminNetworkInterfaceAddress address) test
(NetworkAdminNetworkInterfaceAddress address, boolean ipv6, boolean upnp_map, NetworkAdminProgressListener listener) test
(NetworkAdminNetworkInterfaceAddress address, boolean upnp_map, NetworkAdminProgressListener listener) test
(NetworkAdminNetworkInterfaceAddress address, NetworkAdminProgressListener listener)
-
Field Details
-
core
-
type
private final int type -
port
private final int port
-
-
Constructor Details
-
NetworkAdminProtocolImpl
-
NetworkAdminProtocolImpl
-
-
Method Details
-
getType
public int getType()- Specified by:
getType
in interfaceNetworkAdminProtocol
-
getPort
public int getPort()- Specified by:
getPort
in interfaceNetworkAdminProtocol
-
test
- Specified by:
test
in interfaceNetworkAdminProtocol
- Throws:
NetworkAdminException
-
test
public InetAddress test(NetworkAdminNetworkInterfaceAddress address, NetworkAdminProgressListener listener) throws NetworkAdminException - Specified by:
test
in interfaceNetworkAdminProtocol
- Throws:
NetworkAdminException
-
test
public InetAddress test(NetworkAdminNetworkInterfaceAddress address, boolean upnp_map, NetworkAdminProgressListener listener) throws NetworkAdminException - Specified by:
test
in interfaceNetworkAdminProtocol
- Throws:
NetworkAdminException
-
test
public InetAddress test(NetworkAdminNetworkInterfaceAddress address, boolean ipv6, boolean upnp_map, NetworkAdminProgressListener listener) throws NetworkAdminException - Specified by:
test
in interfaceNetworkAdminProtocol
- Throws:
NetworkAdminException
-
getTypeString
- Specified by:
getTypeString
in interfaceNetworkAdminProtocol
-
getName
- Specified by:
getName
in interfaceNetworkAdminProtocol
-