com.aelitis.net.natpmp.upnp.impl
Class NatPMPImpl

java.lang.Object
  extended by com.aelitis.net.natpmp.upnp.impl.NatPMPImpl

public class NatPMPImpl
extends Object


Constructor Summary
NatPMPImpl(NatPMPDevice device)
           
 
Method Summary
 void addPortMapping(boolean tcp, int port, String description)
          Azureus framework methods
 void deletePortMapping(boolean tcp, int port)
           
 String getExternalIPAddress()
           
 UPnPWANConnectionPortMapping[] getPortMappings()
           
 String[] getStatusInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NatPMPImpl

public NatPMPImpl(NatPMPDevice device)
           throws UPnPException
Throws:
UPnPException
Method Detail

addPortMapping

public void addPortMapping(boolean tcp,
                           int port,
                           String description)
                    throws UPnPException
Azureus framework methods

Throws:
UPnPException

deletePortMapping

public void deletePortMapping(boolean tcp,
                              int port)
                       throws UPnPException
Throws:
UPnPException

getPortMappings

public UPnPWANConnectionPortMapping[] getPortMappings()
                                               throws UPnPException
Throws:
UPnPException

getStatusInfo

public String[] getStatusInfo()
                       throws UPnPException
Throws:
UPnPException

getExternalIPAddress

public String getExternalIPAddress()