fr.imag.adele.bundle.upnp.igd.impl
Class WANIPConnectionModelImpl

java.lang.Object
  extended byfr.imag.adele.bundle.upnp.igd.impl.WANIPConnectionModelImpl
All Implemented Interfaces:
WANIPConnectionModel

public class WANIPConnectionModelImpl
extends Object
implements WANIPConnectionModel


Constructor Summary
WANIPConnectionModelImpl()
           
 
Method Summary
 void addPortMapping(String newRemoteHost, int newExternalPort, String newProtocol, int newInternalPort, String newInternalClient, boolean newEnabled, String newPortMappingDescription, long newLeaseDuration)
          This method is "add description here" newRemoteHost in parameter newExternalPort in parameter newProtocol in parameter newInternalPort in parameter newInternalClient in parameter newEnabled in parameter newPortMappingDescription in parameter newLeaseDuration in parameter
 void deletePortMapping(String newRemoteHost, int newExternalPort, String newProtocol)
          This method is "add description here" newRemoteHost in parameter newExternalPort in parameter newProtocol in parameter
 void forceTermination()
          This method is "add description here"
 void getAutoDisconnectTime(fr.imag.adele.util.upnp.holder.LongHolder newAutoDisconnectTime)
          This method is "add description here" newAutoDisconnectTime out parameter
 String getConnectionStatusStateVariableValue()
           
 void getConnectionTypeInfo(fr.imag.adele.util.upnp.holder.StringHolder newConnectionType, fr.imag.adele.util.upnp.holder.StringHolder newPossibleConnectionTypes)
          This method is "add description here" newConnectionType out parameter newPossibleConnectionTypes out parameter
 void getExternalIPAddress(fr.imag.adele.util.upnp.holder.StringHolder newExternalIPAddress)
          This method is "add description here" newExternalIPAddress out parameter
 String getExternalIPAddressStateVariableValue()
           
 void getGenericPortMappingEntry(int newPortMappingIndex, fr.imag.adele.util.upnp.holder.StringHolder newRemoteHost, fr.imag.adele.util.upnp.holder.IntegerHolder newExternalPort, fr.imag.adele.util.upnp.holder.StringHolder newProtocol, fr.imag.adele.util.upnp.holder.IntegerHolder newInternalPort, fr.imag.adele.util.upnp.holder.StringHolder newInternalClient, fr.imag.adele.util.upnp.holder.BooleanHolder newEnabled, fr.imag.adele.util.upnp.holder.StringHolder newPortMappingDescription, fr.imag.adele.util.upnp.holder.LongHolder newLeaseDuration)
          This method is "add description here" newPortMappingIndex in parameter newRemoteHost out parameter newExternalPort out parameter newProtocol out parameter newInternalPort out parameter newInternalClient out parameter newEnabled out parameter newPortMappingDescription out parameter newLeaseDuration out parameter
 void getIdleDisconnectTime(fr.imag.adele.util.upnp.holder.LongHolder newIdleDisconnectTime)
          This method is "add description here" newIdleDisconnectTime out parameter
 void getNATRSIPStatus(fr.imag.adele.util.upnp.holder.BooleanHolder newRSIPAvailable, fr.imag.adele.util.upnp.holder.BooleanHolder newNATEnabled)
          This method is "add description here" newRSIPAvailable out parameter newNATEnabled out parameter
 Integer getPortMappingNumberOfEntriesStateVariableValue()
           
 String getPossibleConnectionTypesStateVariableValue()
           
 void getSpecificPortMappingEntry(String newRemoteHost, int newExternalPort, String newProtocol, fr.imag.adele.util.upnp.holder.IntegerHolder newInternalPort, fr.imag.adele.util.upnp.holder.StringHolder newInternalClient, fr.imag.adele.util.upnp.holder.BooleanHolder newEnabled, fr.imag.adele.util.upnp.holder.StringHolder newPortMappingDescription, fr.imag.adele.util.upnp.holder.LongHolder newLeaseDuration)
          This method is "add description here" newRemoteHost in parameter newExternalPort in parameter newProtocol in parameter newInternalPort out parameter newInternalClient out parameter newEnabled out parameter newPortMappingDescription out parameter newLeaseDuration out parameter
 void getStatusInfo(fr.imag.adele.util.upnp.holder.StringHolder newConnectionStatus, fr.imag.adele.util.upnp.holder.StringHolder newLastConnectionError, fr.imag.adele.util.upnp.holder.LongHolder newUptime)
          This method is "add description here" newConnectionStatus out parameter newLastConnectionError out parameter newUptime out parameter
 void getWarnDisconnectDelay(fr.imag.adele.util.upnp.holder.LongHolder newWarnDisconnectDelay)
          This method is "add description here" newWarnDisconnectDelay out parameter
 void requestConnection()
          This method is "add description here"
 void requestTermination()
          This method is "add description here"
 void setAutoDisconnectTime(long newAutoDisconnectTime)
          This method is "add description here" newAutoDisconnectTime in parameter
 void setConnectionType(String newConnectionType)
          This method is "add description here" newConnectionType in parameter
 void setIdleDisconnectTime(long newIdleDisconnectTime)
          This method is "add description here" newIdleDisconnectTime in parameter
 void setWarnDisconnectDelay(long newWarnDisconnectDelay)
          This method is "add description here" newWarnDisconnectDelay in parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WANIPConnectionModelImpl

public WANIPConnectionModelImpl()
Method Detail

setConnectionType

public void setConnectionType(String newConnectionType)
This method is "add description here" newConnectionType in parameter

Specified by:
setConnectionType in interface WANIPConnectionModel

getConnectionTypeInfo

public void getConnectionTypeInfo(fr.imag.adele.util.upnp.holder.StringHolder newConnectionType,
                                  fr.imag.adele.util.upnp.holder.StringHolder newPossibleConnectionTypes)
This method is "add description here" newConnectionType out parameter newPossibleConnectionTypes out parameter

Specified by:
getConnectionTypeInfo in interface WANIPConnectionModel

requestConnection

public void requestConnection()
This method is "add description here"

Specified by:
requestConnection in interface WANIPConnectionModel

requestTermination

public void requestTermination()
This method is "add description here"

Specified by:
requestTermination in interface WANIPConnectionModel

forceTermination

public void forceTermination()
This method is "add description here"

Specified by:
forceTermination in interface WANIPConnectionModel

setAutoDisconnectTime

public void setAutoDisconnectTime(long newAutoDisconnectTime)
This method is "add description here" newAutoDisconnectTime in parameter

Specified by:
setAutoDisconnectTime in interface WANIPConnectionModel

setIdleDisconnectTime

public void setIdleDisconnectTime(long newIdleDisconnectTime)
This method is "add description here" newIdleDisconnectTime in parameter

Specified by:
setIdleDisconnectTime in interface WANIPConnectionModel

setWarnDisconnectDelay

public void setWarnDisconnectDelay(long newWarnDisconnectDelay)
This method is "add description here" newWarnDisconnectDelay in parameter

Specified by:
setWarnDisconnectDelay in interface WANIPConnectionModel

getStatusInfo

public void getStatusInfo(fr.imag.adele.util.upnp.holder.StringHolder newConnectionStatus,
                          fr.imag.adele.util.upnp.holder.StringHolder newLastConnectionError,
                          fr.imag.adele.util.upnp.holder.LongHolder newUptime)
This method is "add description here" newConnectionStatus out parameter newLastConnectionError out parameter newUptime out parameter

Specified by:
getStatusInfo in interface WANIPConnectionModel

getAutoDisconnectTime

public void getAutoDisconnectTime(fr.imag.adele.util.upnp.holder.LongHolder newAutoDisconnectTime)
This method is "add description here" newAutoDisconnectTime out parameter

Specified by:
getAutoDisconnectTime in interface WANIPConnectionModel

getIdleDisconnectTime

public void getIdleDisconnectTime(fr.imag.adele.util.upnp.holder.LongHolder newIdleDisconnectTime)
This method is "add description here" newIdleDisconnectTime out parameter

Specified by:
getIdleDisconnectTime in interface WANIPConnectionModel

getWarnDisconnectDelay

public void getWarnDisconnectDelay(fr.imag.adele.util.upnp.holder.LongHolder newWarnDisconnectDelay)
This method is "add description here" newWarnDisconnectDelay out parameter

Specified by:
getWarnDisconnectDelay in interface WANIPConnectionModel

getNATRSIPStatus

public void getNATRSIPStatus(fr.imag.adele.util.upnp.holder.BooleanHolder newRSIPAvailable,
                             fr.imag.adele.util.upnp.holder.BooleanHolder newNATEnabled)
This method is "add description here" newRSIPAvailable out parameter newNATEnabled out parameter

Specified by:
getNATRSIPStatus in interface WANIPConnectionModel

getGenericPortMappingEntry

public void getGenericPortMappingEntry(int newPortMappingIndex,
                                       fr.imag.adele.util.upnp.holder.StringHolder newRemoteHost,
                                       fr.imag.adele.util.upnp.holder.IntegerHolder newExternalPort,
                                       fr.imag.adele.util.upnp.holder.StringHolder newProtocol,
                                       fr.imag.adele.util.upnp.holder.IntegerHolder newInternalPort,
                                       fr.imag.adele.util.upnp.holder.StringHolder newInternalClient,
                                       fr.imag.adele.util.upnp.holder.BooleanHolder newEnabled,
                                       fr.imag.adele.util.upnp.holder.StringHolder newPortMappingDescription,
                                       fr.imag.adele.util.upnp.holder.LongHolder newLeaseDuration)
This method is "add description here" newPortMappingIndex in parameter newRemoteHost out parameter newExternalPort out parameter newProtocol out parameter newInternalPort out parameter newInternalClient out parameter newEnabled out parameter newPortMappingDescription out parameter newLeaseDuration out parameter

Specified by:
getGenericPortMappingEntry in interface WANIPConnectionModel

getSpecificPortMappingEntry

public void getSpecificPortMappingEntry(String newRemoteHost,
                                        int newExternalPort,
                                        String newProtocol,
                                        fr.imag.adele.util.upnp.holder.IntegerHolder newInternalPort,
                                        fr.imag.adele.util.upnp.holder.StringHolder newInternalClient,
                                        fr.imag.adele.util.upnp.holder.BooleanHolder newEnabled,
                                        fr.imag.adele.util.upnp.holder.StringHolder newPortMappingDescription,
                                        fr.imag.adele.util.upnp.holder.LongHolder newLeaseDuration)
This method is "add description here" newRemoteHost in parameter newExternalPort in parameter newProtocol in parameter newInternalPort out parameter newInternalClient out parameter newEnabled out parameter newPortMappingDescription out parameter newLeaseDuration out parameter

Specified by:
getSpecificPortMappingEntry in interface WANIPConnectionModel

addPortMapping

public void addPortMapping(String newRemoteHost,
                           int newExternalPort,
                           String newProtocol,
                           int newInternalPort,
                           String newInternalClient,
                           boolean newEnabled,
                           String newPortMappingDescription,
                           long newLeaseDuration)
This method is "add description here" newRemoteHost in parameter newExternalPort in parameter newProtocol in parameter newInternalPort in parameter newInternalClient in parameter newEnabled in parameter newPortMappingDescription in parameter newLeaseDuration in parameter

Specified by:
addPortMapping in interface WANIPConnectionModel

deletePortMapping

public void deletePortMapping(String newRemoteHost,
                              int newExternalPort,
                              String newProtocol)
This method is "add description here" newRemoteHost in parameter newExternalPort in parameter newProtocol in parameter

Specified by:
deletePortMapping in interface WANIPConnectionModel

getExternalIPAddress

public void getExternalIPAddress(fr.imag.adele.util.upnp.holder.StringHolder newExternalIPAddress)
This method is "add description here" newExternalIPAddress out parameter

Specified by:
getExternalIPAddress in interface WANIPConnectionModel

getPossibleConnectionTypesStateVariableValue

public String getPossibleConnectionTypesStateVariableValue()
Specified by:
getPossibleConnectionTypesStateVariableValue in interface WANIPConnectionModel

getConnectionStatusStateVariableValue

public String getConnectionStatusStateVariableValue()
Specified by:
getConnectionStatusStateVariableValue in interface WANIPConnectionModel

getExternalIPAddressStateVariableValue

public String getExternalIPAddressStateVariableValue()
Specified by:
getExternalIPAddressStateVariableValue in interface WANIPConnectionModel

getPortMappingNumberOfEntriesStateVariableValue

public Integer getPortMappingNumberOfEntriesStateVariableValue()
Specified by:
getPortMappingNumberOfEntriesStateVariableValue in interface WANIPConnectionModel