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

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

public class NatPMPImpl
extends java.lang.Object


Constructor Summary
NatPMPImpl(NatPMPDevice device)
           
 
Method Summary
 void addPortMapping(boolean tcp, int port, java.lang.String description)
          Azureus framework methods
 void deletePortMapping(boolean tcp, int port)
           
 java.lang.String getExternalIPAddress()
           
 UPnPWANConnectionPortMapping[] getPortMappings()
           
 java.lang.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,
                           java.lang.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 java.lang.String[] getStatusInfo()
                                 throws UPnPException
Throws:
UPnPException

getExternalIPAddress

public java.lang.String getExternalIPAddress()