com.aelitis.azureus.plugins.upnp
Class UPnPPluginService

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

public class UPnPPluginService
extends java.lang.Object


Nested Class Summary
 class UPnPPluginService.serviceMapping
           
 
Field Summary
protected  java.util.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)
           
 java.lang.String getAddress()
           
protected  java.lang.String getDescriptionForPort(boolean TCP, int port)
           
 java.lang.String getExternalAddress()
           
 java.lang.String getInfo()
           
 UPnPPluginService.serviceMapping[] getMappings()
           
 java.lang.String getName()
           
protected  java.lang.String getOldDescriptionForPort(int port)
           
 int getPort()
           
 UPnPWANConnection getService()
           
 java.lang.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 java.util.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 java.lang.String getName()

getInfo

public java.lang.String getInfo()

getAddress

public java.lang.String getAddress()

getPort

public int getPort()

getExternalAddress

public java.lang.String getExternalAddress()

getService

public UPnPWANConnection getService()

getOldDescriptionForPort

protected java.lang.String getOldDescriptionForPort(int port)

getDescriptionForPort

protected java.lang.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 java.lang.String getString()