FileDocCategorySizeDatePackage
NetworkAdminNATDeviceImpl.javaAPI DocAzureus 3.0.3.41978Fri Nov 17 15:43:10 GMT 2006com.aelitis.azureus.core.networkmanager.admin.impl

NetworkAdminNATDeviceImpl

public class NetworkAdminNATDeviceImpl extends Object implements com.aelitis.azureus.core.networkmanager.admin.NetworkAdminNATDevice

Fields Summary
protected com.aelitis.azureus.plugins.upnp.UPnPPluginService
service
Constructors Summary
protected NetworkAdminNATDeviceImpl(com.aelitis.azureus.plugins.upnp.UPnPPluginService _service)

		service	= _service;
	
Methods Summary
public java.net.InetAddressgetAddress()

		try{
			
			return( InetAddress.getByName(service.getAddress()));
			
		}catch( Throwable e ){
			
			Debug.printStackTrace(e);
			
			return( null );
		}
	
public java.net.InetAddressgetExternalAddress()

		try{
			
			return( InetAddress.getByName(service.getExternalAddress()));
			
		}catch( Throwable e ){
			
			Debug.printStackTrace(e);
			
			return( null );
		}
	
public java.lang.StringgetName()

		return( service.getName());
	
public intgetPort()

		return( service.getPort());