com.aelitis.azureus.plugins.upnp
Class UPnPPluginService

java.lang.Object
  extended by com.aelitis.azureus.plugins.upnp.UPnPPluginService

public class UPnPPluginService
extends Object


Nested Class Summary
 class UPnPPluginService.serviceMapping
           
 
Field Summary
protected  List<UPnPPluginService.serviceMapping> service_mappings
           
protected  AEMonitor this_mon
           
 
Constructor Summary
protected UPnPPluginService(UPnPWANConnection _connection, UPnPWANConnectionPortMapping[] _ports, StringParameter _desc_prefix, BooleanParameter _alert_success, BooleanParameter _grab_ports, BooleanParameter _alert_other_port_param, BooleanParameter _release_mappings)
           
 
Method Summary
protected  void checkMapping(LoggerChannel log, UPnPMapping mapping)
           
 String getAddress()
           
protected  String getDescriptionForPort(boolean TCP, int port)
           
 String getExternalAddress()
           
 String getInfo()
           
 UPnPPluginService.serviceMapping[] getMappings()
           
 String getName()
           
protected  String getOldDescriptionForPort(int port)
           
 int getPort()
           
 UPnPWANConnection getService()
           
 String getString()
           
protected  void removeMapping(LoggerChannel log, UPnPMapping mapping, boolean end_of_day)
           
protected  void removeMapping(LoggerChannel log, UPnPMapping upnp_mapping, UPnPPluginService.serviceMapping service_mapping, boolean end_of_day)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

service_mappings

protected List<UPnPPluginService.serviceMapping> service_mappings

this_mon

protected AEMonitor this_mon
Constructor Detail

UPnPPluginService

protected UPnPPluginService(UPnPWANConnection _connection,
                            UPnPWANConnectionPortMapping[] _ports,
                            StringParameter _desc_prefix,
                            BooleanParameter _alert_success,
                            BooleanParameter _grab_ports,
                            BooleanParameter _alert_other_port_param,
                            BooleanParameter _release_mappings)
Method Detail

getName

public String getName()

getInfo

public String getInfo()

getAddress

public String getAddress()

getPort

public int getPort()

getExternalAddress

public String getExternalAddress()

getService

public UPnPWANConnection getService()

getOldDescriptionForPort

protected String getOldDescriptionForPort(int port)

getDescriptionForPort

protected String getDescriptionForPort(boolean TCP,
                                       int port)

checkMapping

protected void checkMapping(LoggerChannel log,
                            UPnPMapping mapping)

removeMapping

protected void removeMapping(LoggerChannel log,
                             UPnPMapping mapping,
                             boolean end_of_day)

removeMapping

protected void removeMapping(LoggerChannel log,
                             UPnPMapping upnp_mapping,
                             UPnPPluginService.serviceMapping service_mapping,
                             boolean end_of_day)

getMappings

public UPnPPluginService.serviceMapping[] getMappings()

getString

public String getString()