FileDocCategorySizeDatePackage
NatPMPUPnPRootDeviceImpl.javaAPI DocAzureus 3.0.3.46430Sun Jul 09 07:06:14 BST 2006com.aelitis.net.natpmp.upnp.impl

NatPMPUPnPRootDeviceImpl

public class NatPMPUPnPRootDeviceImpl extends Object implements com.aelitis.net.upnp.UPnPRootDevice

Fields Summary
private com.aelitis.net.upnp.UPnP
upnp
private com.aelitis.net.natpmp.NatPMPDevice
nat_device
private String
USN
private URL
location
private com.aelitis.net.upnp.UPnPDevice
device
private com.aelitis.net.upnp.UPnPService[]
services
private org.gudy.azureus2.core3.util.ThreadPool
thread_pool
Constructors Summary
public NatPMPUPnPRootDeviceImpl(com.aelitis.net.upnp.UPnP _upnp, com.aelitis.net.natpmp.NatPMPDevice _nat_device)

	
	
	
					
			 
	
		 
	
		upnp		= _upnp;
		nat_device	= _nat_device;
		
		location = new URL( "http://undefined/" );
		
		device = new NatPMPUPnPDevice();
		
		services = new UPnPService[]{ new NatPMPUPnPWANConnection() };
		
		thread_pool = new ThreadPool( "NatPMPUPnP", 1, true );
	
Methods Summary
public voidaddListener(com.aelitis.net.upnp.UPnPRootDeviceListener l)

	
public com.aelitis.net.upnp.UPnPDevicegetDevice()

		return( device );
	
public java.lang.StringgetInfo()

		return( "Nat-PMP" );
	
public java.net.InetAddressgetLocalAddress()

		return( nat_device.getLocalAddress());
	
public java.net.URLgetLocation()

		return( location );
	
public java.net.NetworkInterfacegetNetworkInterface()

		return( nat_device.getNetworkInterface());
	
public com.aelitis.net.upnp.UPnPgetUPnP()

		return( upnp );
	
public java.lang.StringgetUSN()

		return( USN );
	
public booleanisDestroyed()

		return( false );
	
public voidremoveListener(com.aelitis.net.upnp.UPnPRootDeviceListener l)