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

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

public class WANPPPConnectionModelImpl
extends Object
implements WANPPPConnectionModel


Constructor Summary
WANPPPConnectionModelImpl()
           
 
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 configureConnection(String newUserName, String newPassword)
          This method is "add description here" newUserName in parameter newPassword 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 getLinkLayerMaxBitRates(fr.imag.adele.util.upnp.holder.LongHolder newUpstreamMaxBitRate, fr.imag.adele.util.upnp.holder.LongHolder newDownstreamMaxBitRate)
          This method is "add description here" newUpstreamMaxBitRate out parameter newDownstreamMaxBitRate 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
 void getPassword(fr.imag.adele.util.upnp.holder.StringHolder newPassword)
          This method is "add description here" newPassword out parameter
 Integer getPortMappingNumberOfEntriesStateVariableValue()
           
 String getPossibleConnectionTypesStateVariableValue()
           
 void getPPPAuthenticationProtocol(fr.imag.adele.util.upnp.holder.StringHolder newPPPAuthenticationProtocol)
          This method is "add description here" newPPPAuthenticationProtocol out parameter
 void getPPPCompressionProtocol(fr.imag.adele.util.upnp.holder.StringHolder newPPPCompressionProtocol)
          This method is "add description here" newPPPCompressionProtocol out parameter
 void getPPPEncryptionProtocol(fr.imag.adele.util.upnp.holder.StringHolder newPPPEncryptionProtocol)
          This method is "add description here" newPPPEncryptionProtocol out parameter
 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 getUserName(fr.imag.adele.util.upnp.holder.StringHolder newUserName)
          This method is "add description here" newUserName 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

WANPPPConnectionModelImpl

public WANPPPConnectionModelImpl()
Method Detail

setConnectionType

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

Specified by:
setConnectionType in interface WANPPPConnectionModel

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 WANPPPConnectionModel

configureConnection

public void configureConnection(String newUserName,
                                String newPassword)
This method is "add description here" newUserName in parameter newPassword in parameter

Specified by:
configureConnection in interface WANPPPConnectionModel

requestConnection

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

Specified by:
requestConnection in interface WANPPPConnectionModel

requestTermination

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

Specified by:
requestTermination in interface WANPPPConnectionModel

forceTermination

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

Specified by:
forceTermination in interface WANPPPConnectionModel

setAutoDisconnectTime

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

Specified by:
setAutoDisconnectTime in interface WANPPPConnectionModel

setIdleDisconnectTime

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

Specified by:
setIdleDisconnectTime in interface WANPPPConnectionModel

setWarnDisconnectDelay

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

Specified by:
setWarnDisconnectDelay in interface WANPPPConnectionModel

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 WANPPPConnectionModel

getLinkLayerMaxBitRates

public void getLinkLayerMaxBitRates(fr.imag.adele.util.upnp.holder.LongHolder newUpstreamMaxBitRate,
                                    fr.imag.adele.util.upnp.holder.LongHolder newDownstreamMaxBitRate)
This method is "add description here" newUpstreamMaxBitRate out parameter newDownstreamMaxBitRate out parameter

Specified by:
getLinkLayerMaxBitRates in interface WANPPPConnectionModel

getPPPEncryptionProtocol

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

Specified by:
getPPPEncryptionProtocol in interface WANPPPConnectionModel

getPPPCompressionProtocol

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

Specified by:
getPPPCompressionProtocol in interface WANPPPConnectionModel

getPPPAuthenticationProtocol

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

Specified by:
getPPPAuthenticationProtocol in interface WANPPPConnectionModel

getUserName

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

Specified by:
getUserName in interface WANPPPConnectionModel

getPassword

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

Specified by:
getPassword in interface WANPPPConnectionModel

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 WANPPPConnectionModel

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 WANPPPConnectionModel

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 WANPPPConnectionModel

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 WANPPPConnectionModel

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 WANPPPConnectionModel

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 WANPPPConnectionModel

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 WANPPPConnectionModel

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 WANPPPConnectionModel

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 WANPPPConnectionModel

getPossibleConnectionTypesStateVariableValue

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

getConnectionStatusStateVariableValue

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

getExternalIPAddressStateVariableValue

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

getPortMappingNumberOfEntriesStateVariableValue

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