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 java.lang.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
 java.lang.String getName()
           
 int getPort()
           
 int getType()
           
 java.lang.String getTypeString()
           
 java.net.InetAddress test(NetworkAdminNetworkInterfaceAddress address)
           
 java.net.InetAddress test(NetworkAdminNetworkInterfaceAddress address, boolean upnp_map, NetworkAdminProgressListener listener)
           
 java.net.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 java.net.InetAddress test(NetworkAdminNetworkInterfaceAddress address)
                          throws NetworkAdminException
Specified by:
test in interface NetworkAdminProtocol
Throws:
NetworkAdminException

test

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

test

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

getTypeString

public java.lang.String getTypeString()
Specified by:
getTypeString in interface NetworkAdminProtocol

getName

public java.lang.String getName()
Specified by:
getName in interface NetworkAdminProtocol