com.aelitis.azureus.core.networkmanager.admin.impl
Class NetworkAdminProtocolImpl

java.lang.Object
  extended by com.aelitis.azureus.core.networkmanager.admin.impl.NetworkAdminProtocolImpl
All Implemented Interfaces:
NetworkAdminProtocol

public class NetworkAdminProtocolImpl
extends Object
implements NetworkAdminProtocol


Field Summary
 
Fields inherited from interface com.aelitis.azureus.core.networkmanager.admin.NetworkAdminProtocol
PT_HTTP, PT_TCP, PT_UDP
 
Constructor Summary
protected NetworkAdminProtocolImpl(AzureusCore _core, int _type)
           
protected NetworkAdminProtocolImpl(AzureusCore _core, int _type, int _port)
           
 
Method Summary
 String getName()
           
 int getPort()
           
 int getType()
           
 String getTypeString()
           
 InetAddress test(NetworkAdminNetworkInterfaceAddress address)
           
 InetAddress test(NetworkAdminNetworkInterfaceAddress address, boolean upnp_map, NetworkAdminProgressListener listener)
           
 InetAddress test(NetworkAdminNetworkInterfaceAddress address, NetworkAdminProgressListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkAdminProtocolImpl

protected NetworkAdminProtocolImpl(AzureusCore _core,
                                   int _type)

NetworkAdminProtocolImpl

protected NetworkAdminProtocolImpl(AzureusCore _core,
                                   int _type,
                                   int _port)
Method Detail

getType

public int getType()
Specified by:
getType in interface NetworkAdminProtocol

getPort

public int getPort()
Specified by:
getPort in interface NetworkAdminProtocol

test

public InetAddress test(NetworkAdminNetworkInterfaceAddress address)
                 throws NetworkAdminException
Specified by:
test in interface NetworkAdminProtocol
Throws:
NetworkAdminException

test

public InetAddress test(NetworkAdminNetworkInterfaceAddress address,
                        boolean upnp_map,
                        NetworkAdminProgressListener listener)
                 throws NetworkAdminException
Specified by:
test in interface NetworkAdminProtocol
Throws:
NetworkAdminException

test

public InetAddress test(NetworkAdminNetworkInterfaceAddress address,
                        NetworkAdminProgressListener listener)
                 throws NetworkAdminException
Specified by:
test in interface NetworkAdminProtocol
Throws:
NetworkAdminException

getTypeString

public String getTypeString()
Specified by:
getTypeString in interface NetworkAdminProtocol

getName

public String getName()
Specified by:
getName in interface NetworkAdminProtocol