You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by do...@apache.org on 2007/05/01 01:15:18 UTC
svn commit: r533875 [13/30] - in
/incubator/felix/sandbox/donsez/upnp.devicegen: ./ doc/ generation/
generation/res/ generation/res/device/ generation/res/service/ manifest/
src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/
src...
Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANCommonInterfaceConfigModel.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANCommonInterfaceConfigModel.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANCommonInterfaceConfigModel.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANCommonInterfaceConfigModel.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,162 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.igd.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+
+public interface WANCommonInterfaceConfigModel {
+
+ /**
+ * This method is "add description here"
+ * newEnabledForInternet in parameter
+
+
+ */
+ public void setEnabledForInternet(
+ boolean newEnabledForInternet
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newEnabledForInternet out parameter
+
+
+ */
+ public void getEnabledForInternet(
+ BooleanHolder newEnabledForInternet
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newWANAccessType out parameter
+
+ * newLayer1UpstreamMaxBitRate out parameter
+
+ * newLayer1DownstreamMaxBitRate out parameter
+
+ * newPhysicalLinkStatus out parameter
+
+
+ */
+ public void getCommonLinkProperties(
+ StringHolder newWANAccessType,
+
+LongHolder newLayer1UpstreamMaxBitRate,
+
+LongHolder newLayer1DownstreamMaxBitRate,
+
+StringHolder newPhysicalLinkStatus
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newWANAccessProvider out parameter
+
+
+ */
+ public void getWANAccessProvider(
+ StringHolder newWANAccessProvider
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newMaximumActiveConnections out parameter
+
+
+ */
+ public void getMaximumActiveConnections(
+ IntegerHolder newMaximumActiveConnections
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newTotalBytesSent out parameter
+
+
+ */
+ public void getTotalBytesSent(
+ LongHolder newTotalBytesSent
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newTotalBytesReceived out parameter
+
+
+ */
+ public void getTotalBytesReceived(
+ LongHolder newTotalBytesReceived
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newTotalPacketsSent out parameter
+
+
+ */
+ public void getTotalPacketsSent(
+ LongHolder newTotalPacketsSent
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newTotalPacketsReceived out parameter
+
+
+ */
+ public void getTotalPacketsReceived(
+ LongHolder newTotalPacketsReceived
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newActiveConnectionIndex in parameter
+
+ * newActiveConnDeviceContainer out parameter
+
+ * newActiveConnectionServiceID out parameter
+
+
+ */
+ public void getActiveConnection(
+ int newActiveConnectionIndex,
+
+StringHolder newActiveConnDeviceContainer,
+
+StringHolder newActiveConnectionServiceID
+ );
+ // TODO return the type of the return argument when specified
+
+
+
+ // Those getters are used for the first notification just after a subscription
+
+ public java.lang.String getPhysicalLinkStatusStateVariableValue();
+
+ public java.lang.Integer getNumberOfActiveConnectionsStateVariableValue();
+
+ public java.lang.Boolean getEnabledForInternetStateVariableValue();
+
+}
Propchange: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANCommonInterfaceConfigModel.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANDSLLinkConfigModel.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANDSLLinkConfigModel.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANDSLLinkConfigModel.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANDSLLinkConfigModel.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,144 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.igd.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+
+public interface WANDSLLinkConfigModel {
+
+ /**
+ * This method is "add description here"
+ * newLinkType in parameter
+
+
+ */
+ public void setDSLLinkType(
+ java.lang.String newLinkType
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newLinkType out parameter
+
+ * newLinkStatus out parameter
+
+
+ */
+ public void getDSLLinkInfo(
+ StringHolder newLinkType,
+
+StringHolder newLinkStatus
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newAutoConfig out parameter
+
+
+ */
+ public void getAutoConfig(
+ BooleanHolder newAutoConfig
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newModulationType out parameter
+
+
+ */
+ public void getModulationType(
+ StringHolder newModulationType
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newDestinationAddress in parameter
+
+
+ */
+ public void setDestinationAddress(
+ java.lang.String newDestinationAddress
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newDestinationAddress out parameter
+
+
+ */
+ public void getDestinationAddress(
+ StringHolder newDestinationAddress
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newATMEncapsulation in parameter
+
+
+ */
+ public void setATMEncapsulation(
+ java.lang.String newATMEncapsulation
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newATMEncapsulation out parameter
+
+
+ */
+ public void getATMEncapsulation(
+ StringHolder newATMEncapsulation
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newFCSPreserved in parameter
+
+
+ */
+ public void setFCSPreserved(
+ boolean newFCSPreserved
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newFCSPreserved out parameter
+
+
+ */
+ public void getFCSPreserved(
+ BooleanHolder newFCSPreserved
+ );
+ // TODO return the type of the return argument when specified
+
+
+
+ // Those getters are used for the first notification just after a subscription
+
+ public java.lang.String getLinkStatusStateVariableValue();
+
+ public java.lang.Boolean getAutoConfigStateVariableValue();
+
+}
Propchange: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANDSLLinkConfigModel.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANEthernetLinkConfigModel.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANEthernetLinkConfigModel.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANEthernetLinkConfigModel.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANEthernetLinkConfigModel.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,30 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.igd.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+
+public interface WANEthernetLinkConfigModel {
+
+ /**
+ * This method is "add description here"
+ * newEthernetLinkStatus out parameter
+
+
+ */
+ public void getEthernetLinkStatus(
+ StringHolder newEthernetLinkStatus
+ );
+ // TODO return the type of the return argument when specified
+
+
+
+ // Those getters are used for the first notification just after a subscription
+
+ public java.lang.String getEthernetLinkStatusStateVariableValue();
+
+}
Propchange: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANEthernetLinkConfigModel.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANIPConnectionModel.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANIPConnectionModel.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANIPConnectionModel.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANIPConnectionModel.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,346 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.igd.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+
+public interface WANIPConnectionModel {
+
+ /**
+ * This method is "add description here"
+ * newConnectionType in parameter
+
+
+ */
+ public void setConnectionType(
+ java.lang.String newConnectionType
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newConnectionType out parameter
+
+ * newPossibleConnectionTypes out parameter
+
+
+ */
+ public void getConnectionTypeInfo(
+ StringHolder newConnectionType,
+
+StringHolder newPossibleConnectionTypes
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+
+ */
+ public void requestConnection(
+
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+
+ */
+ public void requestTermination(
+
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+
+ */
+ public void forceTermination(
+
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newAutoDisconnectTime in parameter
+
+
+ */
+ public void setAutoDisconnectTime(
+ long newAutoDisconnectTime
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newIdleDisconnectTime in parameter
+
+
+ */
+ public void setIdleDisconnectTime(
+ long newIdleDisconnectTime
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newWarnDisconnectDelay in parameter
+
+
+ */
+ public void setWarnDisconnectDelay(
+ long newWarnDisconnectDelay
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newConnectionStatus out parameter
+
+ * newLastConnectionError out parameter
+
+ * newUptime out parameter
+
+
+ */
+ public void getStatusInfo(
+ StringHolder newConnectionStatus,
+
+StringHolder newLastConnectionError,
+
+LongHolder newUptime
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newAutoDisconnectTime out parameter
+
+
+ */
+ public void getAutoDisconnectTime(
+ LongHolder newAutoDisconnectTime
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newIdleDisconnectTime out parameter
+
+
+ */
+ public void getIdleDisconnectTime(
+ LongHolder newIdleDisconnectTime
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newWarnDisconnectDelay out parameter
+
+
+ */
+ public void getWarnDisconnectDelay(
+ LongHolder newWarnDisconnectDelay
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newRSIPAvailable out parameter
+
+ * newNATEnabled out parameter
+
+
+ */
+ public void getNATRSIPStatus(
+ BooleanHolder newRSIPAvailable,
+
+BooleanHolder newNATEnabled
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * 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
+
+
+ */
+ public void getGenericPortMappingEntry(
+ int newPortMappingIndex,
+
+StringHolder newRemoteHost,
+
+IntegerHolder newExternalPort,
+
+StringHolder newProtocol,
+
+IntegerHolder newInternalPort,
+
+StringHolder newInternalClient,
+
+BooleanHolder newEnabled,
+
+StringHolder newPortMappingDescription,
+
+LongHolder newLeaseDuration
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * 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
+
+
+ */
+ public void getSpecificPortMappingEntry(
+ java.lang.String newRemoteHost,
+
+int newExternalPort,
+
+java.lang.String newProtocol,
+
+IntegerHolder newInternalPort,
+
+StringHolder newInternalClient,
+
+BooleanHolder newEnabled,
+
+StringHolder newPortMappingDescription,
+
+LongHolder newLeaseDuration
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * 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
+
+
+ */
+ public void addPortMapping(
+ java.lang.String newRemoteHost,
+
+int newExternalPort,
+
+java.lang.String newProtocol,
+
+int newInternalPort,
+
+java.lang.String newInternalClient,
+
+boolean newEnabled,
+
+java.lang.String newPortMappingDescription,
+
+long newLeaseDuration
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newRemoteHost in parameter
+
+ * newExternalPort in parameter
+
+ * newProtocol in parameter
+
+
+ */
+ public void deletePortMapping(
+ java.lang.String newRemoteHost,
+
+int newExternalPort,
+
+java.lang.String newProtocol
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newExternalIPAddress out parameter
+
+
+ */
+ public void getExternalIPAddress(
+ StringHolder newExternalIPAddress
+ );
+ // TODO return the type of the return argument when specified
+
+
+
+ // Those getters are used for the first notification just after a subscription
+
+ public java.lang.String getPossibleConnectionTypesStateVariableValue();
+
+ public java.lang.String getConnectionStatusStateVariableValue();
+
+ public java.lang.String getExternalIPAddressStateVariableValue();
+
+ public java.lang.Integer getPortMappingNumberOfEntriesStateVariableValue();
+
+}
Propchange: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANIPConnectionModel.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANPOTSLinkConfigModel.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANPOTSLinkConfigModel.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANPOTSLinkConfigModel.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANPOTSLinkConfigModel.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,148 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.igd.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+
+public interface WANPOTSLinkConfigModel {
+
+ /**
+ * This method is "add description here"
+ * newISPPhoneNumber in parameter
+
+ * newISPInfo in parameter
+
+ * newLinkType in parameter
+
+
+ */
+ public void setISPInfo(
+ java.lang.String newISPPhoneNumber,
+
+java.lang.String newISPInfo,
+
+java.lang.String newLinkType
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newNumberOfRetries in parameter
+
+ * newDelayBetweenRetries in parameter
+
+
+ */
+ public void setCallRetryInfo(
+ long newNumberOfRetries,
+
+long newDelayBetweenRetries
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newISPPhoneNumber out parameter
+
+ * newISPInfo out parameter
+
+ * newLinkType out parameter
+
+
+ */
+ public void getISPInfo(
+ StringHolder newISPPhoneNumber,
+
+StringHolder newISPInfo,
+
+StringHolder newLinkType
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newNumberOfRetries out parameter
+
+ * newDelayBetweenRetries out parameter
+
+
+ */
+ public void getCallRetryInfo(
+ LongHolder newNumberOfRetries,
+
+LongHolder newDelayBetweenRetries
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newFclass out parameter
+
+
+ */
+ public void getFclass(
+ StringHolder newFclass
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newDataModulationSupported out parameter
+
+
+ */
+ public void getDataModulationSupported(
+ StringHolder newDataModulationSupported
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newDataProtocol out parameter
+
+
+ */
+ public void getDataProtocol(
+ StringHolder newDataProtocol
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newDataCompression out parameter
+
+
+ */
+ public void getDataCompression(
+ StringHolder newDataCompression
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newPlusVTRCommandSupported out parameter
+
+
+ */
+ public void getPlusVTRCommandSupported(
+ BooleanHolder newPlusVTRCommandSupported
+ );
+ // TODO return the type of the return argument when specified
+
+
+
+ // Those getters are used for the first notification just after a subscription
+
+}
Propchange: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANPOTSLinkConfigModel.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANPPPConnectionModel.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANPPPConnectionModel.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANPPPConnectionModel.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANPPPConnectionModel.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,438 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.igd.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+
+public interface WANPPPConnectionModel {
+
+ /**
+ * This method is "add description here"
+ * newConnectionType in parameter
+
+
+ */
+ public void setConnectionType(
+ java.lang.String newConnectionType
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newConnectionType out parameter
+
+ * newPossibleConnectionTypes out parameter
+
+
+ */
+ public void getConnectionTypeInfo(
+ StringHolder newConnectionType,
+
+StringHolder newPossibleConnectionTypes
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newUserName in parameter
+
+ * newPassword in parameter
+
+
+ */
+ public void configureConnection(
+ java.lang.String newUserName,
+
+java.lang.String newPassword
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+
+ */
+ public void requestConnection(
+
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+
+ */
+ public void requestTermination(
+
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+
+ */
+ public void forceTermination(
+
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newAutoDisconnectTime in parameter
+
+
+ */
+ public void setAutoDisconnectTime(
+ long newAutoDisconnectTime
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newIdleDisconnectTime in parameter
+
+
+ */
+ public void setIdleDisconnectTime(
+ long newIdleDisconnectTime
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newWarnDisconnectDelay in parameter
+
+
+ */
+ public void setWarnDisconnectDelay(
+ long newWarnDisconnectDelay
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newConnectionStatus out parameter
+
+ * newLastConnectionError out parameter
+
+ * newUptime out parameter
+
+
+ */
+ public void getStatusInfo(
+ StringHolder newConnectionStatus,
+
+StringHolder newLastConnectionError,
+
+LongHolder newUptime
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newUpstreamMaxBitRate out parameter
+
+ * newDownstreamMaxBitRate out parameter
+
+
+ */
+ public void getLinkLayerMaxBitRates(
+ LongHolder newUpstreamMaxBitRate,
+
+LongHolder newDownstreamMaxBitRate
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newPPPEncryptionProtocol out parameter
+
+
+ */
+ public void getPPPEncryptionProtocol(
+ StringHolder newPPPEncryptionProtocol
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newPPPCompressionProtocol out parameter
+
+
+ */
+ public void getPPPCompressionProtocol(
+ StringHolder newPPPCompressionProtocol
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newPPPAuthenticationProtocol out parameter
+
+
+ */
+ public void getPPPAuthenticationProtocol(
+ StringHolder newPPPAuthenticationProtocol
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newUserName out parameter
+
+
+ */
+ public void getUserName(
+ StringHolder newUserName
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newPassword out parameter
+
+
+ */
+ public void getPassword(
+ StringHolder newPassword
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newAutoDisconnectTime out parameter
+
+
+ */
+ public void getAutoDisconnectTime(
+ LongHolder newAutoDisconnectTime
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newIdleDisconnectTime out parameter
+
+
+ */
+ public void getIdleDisconnectTime(
+ LongHolder newIdleDisconnectTime
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newWarnDisconnectDelay out parameter
+
+
+ */
+ public void getWarnDisconnectDelay(
+ LongHolder newWarnDisconnectDelay
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newRSIPAvailable out parameter
+
+ * newNATEnabled out parameter
+
+
+ */
+ public void getNATRSIPStatus(
+ BooleanHolder newRSIPAvailable,
+
+BooleanHolder newNATEnabled
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * 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
+
+
+ */
+ public void getGenericPortMappingEntry(
+ int newPortMappingIndex,
+
+StringHolder newRemoteHost,
+
+IntegerHolder newExternalPort,
+
+StringHolder newProtocol,
+
+IntegerHolder newInternalPort,
+
+StringHolder newInternalClient,
+
+BooleanHolder newEnabled,
+
+StringHolder newPortMappingDescription,
+
+LongHolder newLeaseDuration
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * 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
+
+
+ */
+ public void getSpecificPortMappingEntry(
+ java.lang.String newRemoteHost,
+
+int newExternalPort,
+
+java.lang.String newProtocol,
+
+IntegerHolder newInternalPort,
+
+StringHolder newInternalClient,
+
+BooleanHolder newEnabled,
+
+StringHolder newPortMappingDescription,
+
+LongHolder newLeaseDuration
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * 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
+
+
+ */
+ public void addPortMapping(
+ java.lang.String newRemoteHost,
+
+int newExternalPort,
+
+java.lang.String newProtocol,
+
+int newInternalPort,
+
+java.lang.String newInternalClient,
+
+boolean newEnabled,
+
+java.lang.String newPortMappingDescription,
+
+long newLeaseDuration
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newRemoteHost in parameter
+
+ * newExternalPort in parameter
+
+ * newProtocol in parameter
+
+
+ */
+ public void deletePortMapping(
+ java.lang.String newRemoteHost,
+
+int newExternalPort,
+
+java.lang.String newProtocol
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newExternalIPAddress out parameter
+
+
+ */
+ public void getExternalIPAddress(
+ StringHolder newExternalIPAddress
+ );
+ // TODO return the type of the return argument when specified
+
+
+
+ // Those getters are used for the first notification just after a subscription
+
+ public java.lang.String getPossibleConnectionTypesStateVariableValue();
+
+ public java.lang.String getConnectionStatusStateVariableValue();
+
+ public java.lang.String getExternalIPAddressStateVariableValue();
+
+ public java.lang.Integer getPortMappingNumberOfEntriesStateVariableValue();
+
+}
Propchange: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WANPPPConnectionModel.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WLANConfigurationModel.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WLANConfigurationModel.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WLANConfigurationModel.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WLANConfigurationModel.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,904 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.igd.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+
+public interface WLANConfigurationModel {
+
+ /**
+ * This method is "add description here"
+ * newInsecureOOBAccessEnabled in parameter
+
+
+ */
+ public void setInsecureOutOfBandAccessMode(
+ boolean newInsecureOOBAccessEnabled
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newInsecureOOBAccessEnabled out parameter
+
+
+ */
+ public void getInsecureOutOfBandAccessMode(
+ BooleanHolder newInsecureOOBAccessEnabled
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newSSID in parameter
+
+
+ */
+ public void setSSID(
+ java.lang.String newSSID
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newSSID out parameter
+
+
+ */
+ public void getSSID(
+ StringHolder newSSID
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newBSSID out parameter
+
+
+ */
+ public void getBSSID(
+ StringHolder newBSSID
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newBeaconType in parameter
+
+
+ */
+ public void setBeaconType(
+ java.lang.String newBeaconType
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newBeaconType out parameter
+
+
+ */
+ public void getBeaconType(
+ StringHolder newBeaconType
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newBeaconAdvertisementEnabled in parameter
+
+
+ */
+ public void setBeaconAdvertisement(
+ boolean newBeaconAdvertisementEnabled
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newBeaconAdvertisementEnabled out parameter
+
+
+ */
+ public void getBeaconAdvertisement(
+ BooleanHolder newBeaconAdvertisementEnabled
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newRadioEnabled in parameter
+
+
+ */
+ public void setRadioMode(
+ boolean newRadioEnabled
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newRadioEnabled out parameter
+
+
+ */
+ public void getRadioMode(
+ BooleanHolder newRadioEnabled
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newLocationDescription in parameter
+
+
+ */
+ public void setLocationDescription(
+ java.lang.String newLocationDescription
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newLocationDescription out parameter
+
+
+ */
+ public void getLocationDescription(
+ StringHolder newLocationDescription
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newRegulatoryDomain in parameter
+
+
+ */
+ public void setRegulatoryDomain(
+ java.lang.String newRegulatoryDomain
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newRegulatoryDomain out parameter
+
+
+ */
+ public void getRegulatoryDomain(
+ StringHolder newRegulatoryDomain
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newTotalIntegrityFailures out parameter
+
+ * newTotalPSKFailures out parameter
+
+
+ */
+ public void getFailureStatusInfo(
+ LongHolder newTotalIntegrityFailures,
+
+LongHolder newTotalPSKFailures
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newChannel in parameter
+
+
+ */
+ public void setChannel(
+ int newChannel
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newChannel out parameter
+
+ * newPossibleChannels out parameter
+
+
+ */
+ public void getChannelInfo(
+ IntegerHolder newChannel,
+
+StringHolder newPossibleChannels
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newChannelsInUse out parameter
+
+
+ */
+ public void getChannelsInUse(
+ StringHolder newChannelsInUse
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newDeviceOperationMode in parameter
+
+ * newSSID in parameter
+
+ * newBSSID in parameter
+
+ * newChannel in parameter
+
+ * newBasicDataTransmitRates in parameter
+
+ * newOperationalDataTransmitRates in parameter
+
+ * newDistanceFromRoot in parameter
+
+
+ */
+ public void setDeviceOperationMode(
+ java.lang.String newDeviceOperationMode,
+
+java.lang.String newSSID,
+
+java.lang.String newBSSID,
+
+int newChannel,
+
+java.lang.String newBasicDataTransmitRates,
+
+java.lang.String newOperationalDataTransmitRates,
+
+int newDistanceFromRoot
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newDeviceOperationMode out parameter
+
+ * newSSID out parameter
+
+ * newBSSID out parameter
+
+ * newChannel out parameter
+
+ * newBasicDataTransmitRates out parameter
+
+ * newOperationalDataTransmitRates out parameter
+
+ * newDistanceFromRoot out parameter
+
+
+ */
+ public void getDeviceOperationMode(
+ StringHolder newDeviceOperationMode,
+
+StringHolder newSSID,
+
+StringHolder newBSSID,
+
+IntegerHolder newChannel,
+
+StringHolder newBasicDataTransmitRates,
+
+StringHolder newOperationalDataTransmitRates,
+
+IntegerHolder newDistanceFromRoot
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newBasicDataTransmitRates in parameter
+
+ * newOperationalDataTransmitRates in parameter
+
+
+ */
+ public void setDataTransmitRates(
+ java.lang.String newBasicDataTransmitRates,
+
+java.lang.String newOperationalDataTransmitRates
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newBasicDataTransmitRates out parameter
+
+ * newOperationalDataTransmitRates out parameter
+
+ * newPossibleDataTransmitRates out parameter
+
+
+ */
+ public void getDataTransmitRateInfo(
+ StringHolder newBasicDataTransmitRates,
+
+StringHolder newOperationalDataTransmitRates,
+
+StringHolder newPossibleDataTransmitRates
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newAutoRateFallBackEnabled in parameter
+
+
+ */
+ public void setAutoRateFallBackMode(
+ boolean newAutoRateFallBackEnabled
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newAutoRateFallBackEnabled out parameter
+
+
+ */
+ public void getAutoRateFallBackMode(
+ BooleanHolder newAutoRateFallBackEnabled
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newTotalBytesSent out parameter
+
+ * newTotalBytesReceived out parameter
+
+
+ */
+ public void getByteStatistics(
+ LongHolder newTotalBytesSent,
+
+LongHolder newTotalBytesReceived
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newTotalPacketsSent out parameter
+
+ * newTotalPacketsReceived out parameter
+
+
+ */
+ public void getPacketStatistics(
+ LongHolder newTotalPacketsSent,
+
+LongHolder newTotalPacketsReceived
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newAssociatedDeviceMACAddress in parameter
+
+ * newTotalBytesSent out parameter
+
+ * newTotalBytesReceived out parameter
+
+
+ */
+ public void getByteStatsForAssociatedDev(
+ java.lang.String newAssociatedDeviceMACAddress,
+
+LongHolder newTotalBytesSent,
+
+LongHolder newTotalBytesReceived
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newAssociatedDeviceMACAddress in parameter
+
+ * newTotalPacketsSent out parameter
+
+ * newTotalPacketsReceived out parameter
+
+
+ */
+ public void getPacketStatsForAssociatedDev(
+ java.lang.String newAssociatedDeviceMACAddress,
+
+LongHolder newTotalPacketsSent,
+
+LongHolder newTotalPacketsReceived
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newTotalAssociations out parameter
+
+
+ */
+ public void getTotalAssociations(
+ IntegerHolder newTotalAssociations
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newAssociatedDeviceIndex in parameter
+
+ * newAssociatedDeviceMACAddress out parameter
+
+ * newAssociatedDeviceIPAddress out parameter
+
+ * newAssociatedDeviceAuthState out parameter
+
+
+ */
+ public void getGenericAssociatedDeviceInfo(
+ int newAssociatedDeviceIndex,
+
+StringHolder newAssociatedDeviceMACAddress,
+
+StringHolder newAssociatedDeviceIPAddress,
+
+BooleanHolder newAssociatedDeviceAuthState
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newAssociatedDeviceMACAddress in parameter
+
+ * newAssociatedDeviceIPAddress out parameter
+
+ * newAssociatedDeviceAuthState out parameter
+
+
+ */
+ public void getSpecificAssociatedDeviceInfo(
+ java.lang.String newAssociatedDeviceMACAddress,
+
+StringHolder newAssociatedDeviceIPAddress,
+
+BooleanHolder newAssociatedDeviceAuthState
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newAssociatedDeviceMACAddress in parameter
+
+ * newLastRequestedUnicastCipher out parameter
+
+ * newLastRequestedMulticastCipher out parameter
+
+ * newIEEE11iAuthenticationMode out parameter
+
+ * newLastPMKId out parameter
+
+
+ */
+ public void getSpecificAssociatedDev11iInfo(
+ java.lang.String newAssociatedDeviceMACAddress,
+
+StringHolder newLastRequestedUnicastCipher,
+
+StringHolder newLastRequestedMulticastCipher,
+
+StringHolder newIEEE11iAuthenticationMode,
+
+StringHolder newLastPMKId
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newAuthenticationServiceMode in parameter
+
+
+ */
+ public void setAuthenticationServiceMode(
+ java.lang.String newAuthenticationServiceMode
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newAuthenticationServiceMode out parameter
+
+
+ */
+ public void getAuthenticationServiceMode(
+ StringHolder newAuthenticationServiceMode
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newWEPKey0 in parameter
+
+ * newWEPKey1 in parameter
+
+ * newWEPKey2 in parameter
+
+ * newWEPKey3 in parameter
+
+ * newPreSharedKey in parameter
+
+ * newKeyPassphrase in parameter
+
+
+ */
+ public void setSecurityKeys(
+ java.lang.String newWEPKey0,
+
+java.lang.String newWEPKey1,
+
+java.lang.String newWEPKey2,
+
+java.lang.String newWEPKey3,
+
+java.lang.String newPreSharedKey,
+
+java.lang.String newKeyPassphrase
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newWEPKey0 out parameter
+
+ * newWEPKey1 out parameter
+
+ * newWEPKey2 out parameter
+
+ * newWEPKey3 out parameter
+
+ * newPreSharedKey out parameter
+
+ * newKeyPassphrase out parameter
+
+
+ */
+ public void getSecurityKeys(
+ StringHolder newWEPKey0,
+
+StringHolder newWEPKey1,
+
+StringHolder newWEPKey2,
+
+StringHolder newWEPKey3,
+
+StringHolder newPreSharedKey,
+
+StringHolder newKeyPassphrase
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newDefaultWEPKeyIndex in parameter
+
+
+ */
+ public void setDefaultWEPKeyIndex(
+ int newDefaultWEPKeyIndex
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newDefaultWEPKeyIndex out parameter
+
+
+ */
+ public void getDefaultWEPKeyIndex(
+ IntegerHolder newDefaultWEPKeyIndex
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newPreSharedKeyIndex in parameter
+
+ * newAssociatedDeviceMACAddress in parameter
+
+ * newPreSharedKey in parameter
+
+ * newPSKPassphrase in parameter
+
+
+ */
+ public void setPreSharedKey(
+ int newPreSharedKeyIndex,
+
+java.lang.String newAssociatedDeviceMACAddress,
+
+java.lang.String newPreSharedKey,
+
+java.lang.String newPSKPassphrase
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newPreSharedKeyIndex in parameter
+
+ * newAssociatedDeviceMACAddress out parameter
+
+ * newPreSharedKey out parameter
+
+ * newPSKPassphrase out parameter
+
+
+ */
+ public void getPreSharedKey(
+ int newPreSharedKeyIndex,
+
+StringHolder newAssociatedDeviceMACAddress,
+
+StringHolder newPreSharedKey,
+
+StringHolder newPSKPassphrase
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newBasicEncryptionModes in parameter
+
+ * newBasicAuthenticationMode in parameter
+
+
+ */
+ public void setBasBeaconSecurityProperties(
+ java.lang.String newBasicEncryptionModes,
+
+java.lang.String newBasicAuthenticationMode
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newBasicEncryptionModes out parameter
+
+ * newBasicAuthenticationMode out parameter
+
+
+ */
+ public void getBasBeaconSecurityProperties(
+ StringHolder newBasicEncryptionModes,
+
+StringHolder newBasicAuthenticationMode
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newWPAEncryptionModes in parameter
+
+ * newWPAAuthenticationMode in parameter
+
+
+ */
+ public void setWPABeaconSecurityProperties(
+ java.lang.String newWPAEncryptionModes,
+
+java.lang.String newWPAAuthenticationMode
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newWPAEncryptionModes out parameter
+
+ * newWPAAuthenticationMode out parameter
+
+
+ */
+ public void getWPABeaconSecurityProperties(
+ StringHolder newWPAEncryptionModes,
+
+StringHolder newWPAAuthenticationMode
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newIEEE11iEncryptionModes in parameter
+
+ * newIEEE11iAuthenticationMode in parameter
+
+
+ */
+ public void set11iBeaconSecurityProperties(
+ java.lang.String newIEEE11iEncryptionModes,
+
+java.lang.String newIEEE11iAuthenticationMode
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+ * newIEEE11iEncryptionModes out parameter
+
+ * newIEEE11iAuthenticationMode out parameter
+
+
+ */
+ public void get11iBeaconSecurityProperties(
+ StringHolder newIEEE11iEncryptionModes,
+
+StringHolder newIEEE11iAuthenticationMode
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+
+ */
+ public void factoryDefaultReset(
+
+ );
+ // TODO return the type of the return argument when specified
+
+
+ /**
+ * This method is "add description here"
+
+ */
+ public void resetAuthentication(
+
+ );
+ // TODO return the type of the return argument when specified
+
+
+
+ // Those getters are used for the first notification just after a subscription
+
+ public java.lang.Boolean getInsecureOOBAccessEnabledStateVariableValue();
+
+ public java.lang.String getSSIDStateVariableValue();
+
+ public java.lang.String getBSSIDStateVariableValue();
+
+ public java.lang.String getBeaconTypeStateVariableValue();
+
+ public java.lang.Boolean getBeaconAdvertisementEnabledStateVariableValue();
+
+ public java.lang.Boolean getRadioEnabledStateVariableValue();
+
+ public java.lang.String getLocationDescriptionStateVariableValue();
+
+ public java.lang.String getRegulatoryDomainStateVariableValue();
+
+ public java.lang.Long getTotalPSKFailuresStateVariableValue();
+
+ public java.lang.Long getTotalIntegrityFailuresStateVariableValue();
+
+ public java.lang.Integer getChannelStateVariableValue();
+
+ public java.lang.String getPossibleChannelsStateVariableValue();
+
+ public java.lang.String getChannelsInUseStateVariableValue();
+
+ public java.lang.String getDeviceOperationModeStateVariableValue();
+
+ public java.lang.Integer getDistanceFromRootStateVariableValue();
+
+ public java.lang.String getPeerBSSIDStateVariableValue();
+
+ public java.lang.String getBasicDataTransmitRatesStateVariableValue();
+
+ public java.lang.String getOperationalDataTransmitRatesStateVariableValue();
+
+ public java.lang.String getPossibleDataTransmitRatesStateVariableValue();
+
+ public java.lang.Boolean getAutoRateFallBackEnabledStateVariableValue();
+
+ public java.lang.Long getTotalBytesSentStateVariableValue();
+
+ public java.lang.Long getTotalBytesReceivedStateVariableValue();
+
+ public java.lang.Long getTotalPacketsSentStateVariableValue();
+
+ public java.lang.Long getTotalPacketsReceivedStateVariableValue();
+
+ public java.lang.Integer getTotalAssociationsStateVariableValue();
+
+ public java.lang.String getAssociatedDeviceMACAddressStateVariableValue();
+
+ public java.lang.String getAssociatedDeviceIPAddressStateVariableValue();
+
+ public java.lang.Boolean getAssociatedDeviceAuthStateStateVariableValue();
+
+ public java.lang.String getAuthenticationServiceModeStateVariableValue();
+
+ public java.lang.Integer getWEPKeyIndexStateVariableValue();
+
+ public java.lang.String getWEPKeyStateVariableValue();
+
+ public java.lang.String getKeyPassphraseStateVariableValue();
+
+ public java.lang.String getWEPEncryptionLevelStateVariableValue();
+
+ public java.lang.String getPreSharedKeyStateVariableValue();
+
+ public java.lang.Integer getPreSharedKeyIndexStateVariableValue();
+
+ public java.lang.String getBasicEncryptionModesStateVariableValue();
+
+ public java.lang.String getBasicAuthenticationModeStateVariableValue();
+
+ public java.lang.String getWPAEncryptionModesStateVariableValue();
+
+ public java.lang.String getWPAAuthenticationModeStateVariableValue();
+
+ public java.lang.String getIEEE11iEncryptionModesStateVariableValue();
+
+ public java.lang.String getIEEE11iAuthenticationModeStateVariableValue();
+
+ public java.lang.String getLastRequestedUnicastCipherStateVariableValue();
+
+ public java.lang.String getLastRequestedMulticastCipherStateVariableValue();
+
+ public java.lang.String getLastPMKIdStateVariableValue();
+
+}
Propchange: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/model/WLANConfigurationModel.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/service/LANHostConfigManagement.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/service/LANHostConfigManagement.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/service/LANHostConfigManagement.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/service/LANHostConfigManagement.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,1863 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.igd.service;
+
+import java.util.Dictionary;
+import java.util.HashMap;
+import java.util.Hashtable;
+import java.util.Map;
+
+import org.osgi.framework.*;
+import org.osgi.service.upnp.*;
+import org.apache.felix.upnp.devicegen.util.*;
+import org.apache.felix.upnp.devicegen.holder.*;
+
+import org.apache.felix.upnp.devicegen.igd.model.*;
+import org.apache.felix.upnp.devicegen.igd.impl.*;
+
+
+
+public class LANHostConfigManagement extends AbstractUPnPService {
+
+
+ private LANHostConfigManagementModel model;
+
+ /**
+ * constructor
+ */
+ public LANHostConfigManagement(
+ UPnPDevice upnpDevice,
+ String serviceId,
+ String serviceType,
+ String version,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpDevice,
+ serviceId,
+ serviceType,
+ version
+ );
+ this.model=model;
+
+
+ stateVariables=new HashMap();
+
+
+
+ stateVariables.put(
+ "DHCPServerConfigurable",
+ new DHCPServerConfigurableStateVariable(this,model)
+ );
+
+
+
+ stateVariables.put(
+ "DHCPRelay",
+ new DHCPRelayStateVariable(this,model)
+ );
+
+
+
+ stateVariables.put(
+ "SubnetMask",
+ new SubnetMaskStateVariable(this,model)
+ );
+
+
+
+ stateVariables.put(
+ "IPRouters",
+ new IPRoutersStateVariable(this,model)
+ );
+
+
+
+ stateVariables.put(
+ "DNSServers",
+ new DNSServersStateVariable(this,model)
+ );
+
+
+
+ stateVariables.put(
+ "DomainName",
+ new DomainNameStateVariable(this,model)
+ );
+
+
+
+ stateVariables.put(
+ "MinAddress",
+ new MinAddressStateVariable(this,model)
+ );
+
+
+
+ stateVariables.put(
+ "MaxAddress",
+ new MaxAddressStateVariable(this,model)
+ );
+
+
+
+ stateVariables.put(
+ "ReservedAddresses",
+ new ReservedAddressesStateVariable(this,model)
+ );
+
+ actions=new HashMap();
+
+
+
+ actions.put(
+ "SetDHCPServerConfigurable",
+ new SetDHCPServerConfigurableAction(this,model)
+ );
+
+
+
+ actions.put(
+ "GetDHCPServerConfigurable",
+ new GetDHCPServerConfigurableAction(this,model)
+ );
+
+
+
+ actions.put(
+ "SetDHCPRelay",
+ new SetDHCPRelayAction(this,model)
+ );
+
+
+
+ actions.put(
+ "GetDHCPRelay",
+ new GetDHCPRelayAction(this,model)
+ );
+
+
+
+ actions.put(
+ "SetSubnetMask",
+ new SetSubnetMaskAction(this,model)
+ );
+
+
+
+ actions.put(
+ "GetSubnetMask",
+ new GetSubnetMaskAction(this,model)
+ );
+
+
+
+ actions.put(
+ "SetIPRouter",
+ new SetIPRouterAction(this,model)
+ );
+
+
+
+ actions.put(
+ "DeleteIPRouter",
+ new DeleteIPRouterAction(this,model)
+ );
+
+
+
+ actions.put(
+ "GetIPRoutersList",
+ new GetIPRoutersListAction(this,model)
+ );
+
+
+
+ actions.put(
+ "SetDomainName",
+ new SetDomainNameAction(this,model)
+ );
+
+
+
+ actions.put(
+ "GetDomainName",
+ new GetDomainNameAction(this,model)
+ );
+
+
+
+ actions.put(
+ "SetAddressRange",
+ new SetAddressRangeAction(this,model)
+ );
+
+
+
+ actions.put(
+ "GetAddressRange",
+ new GetAddressRangeAction(this,model)
+ );
+
+
+
+ actions.put(
+ "SetReservedAddress",
+ new SetReservedAddressAction(this,model)
+ );
+
+
+
+ actions.put(
+ "DeleteReservedAddress",
+ new DeleteReservedAddressAction(this,model)
+ );
+
+
+
+ actions.put(
+ "GetReservedAddresses",
+ new GetReservedAddressesAction(this,model)
+ );
+
+
+
+ actions.put(
+ "SetDNSServer",
+ new SetDNSServerAction(this,model)
+ );
+
+
+
+ actions.put(
+ "DeleteDNSServer",
+ new DeleteDNSServerAction(this,model)
+ );
+
+
+
+ actions.put(
+ "GetDNSServers",
+ new GetDNSServersAction(this,model)
+ );
+
+ }
+
+ // UPnPStateVariable classes
+
+
+
+// class DHCPServerConfigurableStateVariable
+public class DHCPServerConfigurableStateVariable
+ extends AbstractUPnPStateVariable
+
+ {
+
+ public final static String NAME="DHCPServerConfigurable";
+ public final static String DATATYPE="boolean";
+
+ // HERE specific state variable members
+ private LANHostConfigManagementModel model;
+
+ public DHCPServerConfigurableStateVariable(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ NAME,
+ DATATYPE,
+ null, // TODO defaultValue changed for
+ null, // TODO step changed for
+ null, // TODO step changed for
+ null, // TODO minimum changed for
+ null, // TODO maximum changed for
+ // sendEventsAttribute
+ false,
+ true // TODO required changed for OR
+ );
+
+ this.model=model;
+
+
+ }
+
+ // TODO
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+
+ /**
+ * invoked for the first notification just after a subscription
+ * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+ */
+ public Object getValue(){
+ return null;
+ }
+};
+
+
+// class DHCPRelayStateVariable
+public class DHCPRelayStateVariable
+ extends AbstractUPnPStateVariable
+
+ {
+
+ public final static String NAME="DHCPRelay";
+ public final static String DATATYPE="boolean";
+
+ // HERE specific state variable members
+ private LANHostConfigManagementModel model;
+
+ public DHCPRelayStateVariable(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ NAME,
+ DATATYPE,
+ null, // TODO defaultValue changed for
+ null, // TODO step changed for
+ null, // TODO step changed for
+ null, // TODO minimum changed for
+ null, // TODO maximum changed for
+ // sendEventsAttribute
+ false,
+ true // TODO required changed for OR
+ );
+
+ this.model=model;
+
+
+ }
+
+ // TODO
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+
+ /**
+ * invoked for the first notification just after a subscription
+ * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+ */
+ public Object getValue(){
+ return null;
+ }
+};
+
+
+// class SubnetMaskStateVariable
+public class SubnetMaskStateVariable
+ extends AbstractUPnPStateVariable
+
+ {
+
+ public final static String NAME="SubnetMask";
+ public final static String DATATYPE="string";
+
+ // HERE specific state variable members
+ private LANHostConfigManagementModel model;
+
+ public SubnetMaskStateVariable(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ NAME,
+ DATATYPE,
+ null, // TODO defaultValue changed for
+ null, // TODO step changed for
+ null, // TODO step changed for
+ null, // TODO minimum changed for
+ null, // TODO maximum changed for
+ // sendEventsAttribute
+ false,
+ true // TODO required changed for OR
+ );
+
+ this.model=model;
+
+
+ }
+
+ // TODO
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+
+ /**
+ * invoked for the first notification just after a subscription
+ * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+ */
+ public Object getValue(){
+ return null;
+ }
+};
+
+
+// class IPRoutersStateVariable
+public class IPRoutersStateVariable
+ extends AbstractUPnPStateVariable
+
+ {
+
+ public final static String NAME="IPRouters";
+ public final static String DATATYPE="string";
+
+ // HERE specific state variable members
+ private LANHostConfigManagementModel model;
+
+ public IPRoutersStateVariable(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ NAME,
+ DATATYPE,
+ null, // TODO defaultValue changed for
+ null, // TODO step changed for
+ null, // TODO step changed for
+ null, // TODO minimum changed for
+ null, // TODO maximum changed for
+ // sendEventsAttribute
+ false,
+ true // TODO required changed for OR
+ );
+
+ this.model=model;
+
+
+ }
+
+ // TODO
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+
+ /**
+ * invoked for the first notification just after a subscription
+ * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+ */
+ public Object getValue(){
+ return null;
+ }
+};
+
+
+// class DNSServersStateVariable
+public class DNSServersStateVariable
+ extends AbstractUPnPStateVariable
+
+ {
+
+ public final static String NAME="DNSServers";
+ public final static String DATATYPE="string";
+
+ // HERE specific state variable members
+ private LANHostConfigManagementModel model;
+
+ public DNSServersStateVariable(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ NAME,
+ DATATYPE,
+ null, // TODO defaultValue changed for
+ null, // TODO step changed for
+ null, // TODO step changed for
+ null, // TODO minimum changed for
+ null, // TODO maximum changed for
+ // sendEventsAttribute
+ false,
+ true // TODO required changed for OR
+ );
+
+ this.model=model;
+
+
+ }
+
+ // TODO
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+
+ /**
+ * invoked for the first notification just after a subscription
+ * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+ */
+ public Object getValue(){
+ return null;
+ }
+};
+
+
+// class DomainNameStateVariable
+public class DomainNameStateVariable
+ extends AbstractUPnPStateVariable
+
+ {
+
+ public final static String NAME="DomainName";
+ public final static String DATATYPE="string";
+
+ // HERE specific state variable members
+ private LANHostConfigManagementModel model;
+
+ public DomainNameStateVariable(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ NAME,
+ DATATYPE,
+ null, // TODO defaultValue changed for
+ null, // TODO step changed for
+ null, // TODO step changed for
+ null, // TODO minimum changed for
+ null, // TODO maximum changed for
+ // sendEventsAttribute
+ false,
+ true // TODO required changed for OR
+ );
+
+ this.model=model;
+
+
+ }
+
+ // TODO
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+
+ /**
+ * invoked for the first notification just after a subscription
+ * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+ */
+ public Object getValue(){
+ return null;
+ }
+};
+
+
+// class MinAddressStateVariable
+public class MinAddressStateVariable
+ extends AbstractUPnPStateVariable
+
+ {
+
+ public final static String NAME="MinAddress";
+ public final static String DATATYPE="string";
+
+ // HERE specific state variable members
+ private LANHostConfigManagementModel model;
+
+ public MinAddressStateVariable(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ NAME,
+ DATATYPE,
+ null, // TODO defaultValue changed for
+ null, // TODO step changed for
+ null, // TODO step changed for
+ null, // TODO minimum changed for
+ null, // TODO maximum changed for
+ // sendEventsAttribute
+ false,
+ true // TODO required changed for OR
+ );
+
+ this.model=model;
+
+
+ }
+
+ // TODO
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+
+ /**
+ * invoked for the first notification just after a subscription
+ * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+ */
+ public Object getValue(){
+ return null;
+ }
+};
+
+
+// class MaxAddressStateVariable
+public class MaxAddressStateVariable
+ extends AbstractUPnPStateVariable
+
+ {
+
+ public final static String NAME="MaxAddress";
+ public final static String DATATYPE="string";
+
+ // HERE specific state variable members
+ private LANHostConfigManagementModel model;
+
+ public MaxAddressStateVariable(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ NAME,
+ DATATYPE,
+ null, // TODO defaultValue changed for
+ null, // TODO step changed for
+ null, // TODO step changed for
+ null, // TODO minimum changed for
+ null, // TODO maximum changed for
+ // sendEventsAttribute
+ false,
+ true // TODO required changed for OR
+ );
+
+ this.model=model;
+
+
+ }
+
+ // TODO
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+
+ /**
+ * invoked for the first notification just after a subscription
+ * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+ */
+ public Object getValue(){
+ return null;
+ }
+};
+
+
+// class ReservedAddressesStateVariable
+public class ReservedAddressesStateVariable
+ extends AbstractUPnPStateVariable
+
+ {
+
+ public final static String NAME="ReservedAddresses";
+ public final static String DATATYPE="string";
+
+ // HERE specific state variable members
+ private LANHostConfigManagementModel model;
+
+ public ReservedAddressesStateVariable(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ NAME,
+ DATATYPE,
+ null, // TODO defaultValue changed for
+ null, // TODO step changed for
+ null, // TODO step changed for
+ null, // TODO minimum changed for
+ null, // TODO maximum changed for
+ // sendEventsAttribute
+ false,
+ true // TODO required changed for OR
+ );
+
+ this.model=model;
+
+
+ }
+
+ // TODO
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+
+ /**
+ * invoked for the first notification just after a subscription
+ * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+ */
+ public Object getValue(){
+ return null;
+ }
+};
+
+
+ // UPnPAction classes
+
+
+
+public class SetDHCPServerConfigurableAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public SetDHCPServerConfigurableAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "SetDHCPServerConfigurable",
+ ""
+ );
+ this.model=model;
+
+ addInArg(
+ "NewDHCPServerConfigurable",
+ upnpService.getStateVariable("DHCPServerConfigurable")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ java.lang.Boolean newDHCPServerConfigurable = (java.lang.Boolean) _args.get("NewDHCPServerConfigurable");
+
+
+ // invoke model
+
+ model.setDHCPServerConfigurable(
+ BooleanHolder.toValue(
+ newDHCPServerConfigurable)
+
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class GetDHCPServerConfigurableAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public GetDHCPServerConfigurableAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "GetDHCPServerConfigurable",
+ ""
+ );
+ this.model=model;
+
+ addOutArg(
+ "NewDHCPServerConfigurable",
+ upnpService.getStateVariable("DHCPServerConfigurable")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ BooleanHolder newDHCPServerConfigurable = new BooleanHolder();
+
+
+ // invoke model
+
+ model.getDHCPServerConfigurable(
+ newDHCPServerConfigurable
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ _result.put("NewDHCPServerConfigurable",newDHCPServerConfigurable.getObject());
+ // java.lang.Boolean
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class SetDHCPRelayAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public SetDHCPRelayAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "SetDHCPRelay",
+ ""
+ );
+ this.model=model;
+
+ addInArg(
+ "NewDHCPRelay",
+ upnpService.getStateVariable("DHCPRelay")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ java.lang.Boolean newDHCPRelay = (java.lang.Boolean) _args.get("NewDHCPRelay");
+
+
+ // invoke model
+
+ model.setDHCPRelay(
+ BooleanHolder.toValue(
+ newDHCPRelay)
+
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class GetDHCPRelayAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public GetDHCPRelayAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "GetDHCPRelay",
+ ""
+ );
+ this.model=model;
+
+ addOutArg(
+ "NewDHCPRelay",
+ upnpService.getStateVariable("DHCPRelay")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ BooleanHolder newDHCPRelay = new BooleanHolder();
+
+
+ // invoke model
+
+ model.getDHCPRelay(
+ newDHCPRelay
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ _result.put("NewDHCPRelay",newDHCPRelay.getObject());
+ // java.lang.Boolean
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class SetSubnetMaskAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public SetSubnetMaskAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "SetSubnetMask",
+ ""
+ );
+ this.model=model;
+
+ addInArg(
+ "NewSubnetMask",
+ upnpService.getStateVariable("SubnetMask")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ java.lang.String newSubnetMask = (java.lang.String) _args.get("NewSubnetMask");
+
+
+ // invoke model
+
+ model.setSubnetMask(
+ StringHolder.toValue(
+ newSubnetMask)
+
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class GetSubnetMaskAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public GetSubnetMaskAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "GetSubnetMask",
+ ""
+ );
+ this.model=model;
+
+ addOutArg(
+ "NewSubnetMask",
+ upnpService.getStateVariable("SubnetMask")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ StringHolder newSubnetMask = new StringHolder();
+
+
+ // invoke model
+
+ model.getSubnetMask(
+ newSubnetMask
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ _result.put("NewSubnetMask",newSubnetMask.getObject());
+ // java.lang.String
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class SetIPRouterAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public SetIPRouterAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "SetIPRouter",
+ ""
+ );
+ this.model=model;
+
+ addInArg(
+ "NewIPRouters",
+ upnpService.getStateVariable("IPRouters")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ java.lang.String newIPRouters = (java.lang.String) _args.get("NewIPRouters");
+
+
+ // invoke model
+
+ model.setIPRouter(
+ StringHolder.toValue(
+ newIPRouters)
+
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class DeleteIPRouterAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public DeleteIPRouterAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "DeleteIPRouter",
+ ""
+ );
+ this.model=model;
+
+ addInArg(
+ "NewIPRouters",
+ upnpService.getStateVariable("IPRouters")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ java.lang.String newIPRouters = (java.lang.String) _args.get("NewIPRouters");
+
+
+ // invoke model
+
+ model.deleteIPRouter(
+ StringHolder.toValue(
+ newIPRouters)
+
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class GetIPRoutersListAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public GetIPRoutersListAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "GetIPRoutersList",
+ ""
+ );
+ this.model=model;
+
+ addOutArg(
+ "NewIPRouters",
+ upnpService.getStateVariable("IPRouters")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ StringHolder newIPRouters = new StringHolder();
+
+
+ // invoke model
+
+ model.getIPRoutersList(
+ newIPRouters
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ _result.put("NewIPRouters",newIPRouters.getObject());
+ // java.lang.String
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class SetDomainNameAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public SetDomainNameAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "SetDomainName",
+ ""
+ );
+ this.model=model;
+
+ addInArg(
+ "NewDomainName",
+ upnpService.getStateVariable("DomainName")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ java.lang.String newDomainName = (java.lang.String) _args.get("NewDomainName");
+
+
+ // invoke model
+
+ model.setDomainName(
+ StringHolder.toValue(
+ newDomainName)
+
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class GetDomainNameAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public GetDomainNameAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "GetDomainName",
+ ""
+ );
+ this.model=model;
+
+ addOutArg(
+ "NewDomainName",
+ upnpService.getStateVariable("DomainName")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ StringHolder newDomainName = new StringHolder();
+
+
+ // invoke model
+
+ model.getDomainName(
+ newDomainName
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ _result.put("NewDomainName",newDomainName.getObject());
+ // java.lang.String
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class SetAddressRangeAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public SetAddressRangeAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "SetAddressRange",
+ ""
+ );
+ this.model=model;
+
+ addInArg(
+ "NewMinAddress",
+ upnpService.getStateVariable("MinAddress")
+ );
+
+ addInArg(
+ "NewMaxAddress",
+ upnpService.getStateVariable("MaxAddress")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ java.lang.String newMinAddress = (java.lang.String) _args.get("NewMinAddress");
+ java.lang.String newMaxAddress = (java.lang.String) _args.get("NewMaxAddress");
+
+
+ // invoke model
+
+ model.setAddressRange(
+ StringHolder.toValue(
+ newMinAddress)
+ ,
+
+StringHolder.toValue(
+ newMaxAddress)
+
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class GetAddressRangeAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public GetAddressRangeAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "GetAddressRange",
+ ""
+ );
+ this.model=model;
+
+ addOutArg(
+ "NewMinAddress",
+ upnpService.getStateVariable("MinAddress")
+ );
+
+ addOutArg(
+ "NewMaxAddress",
+ upnpService.getStateVariable("MaxAddress")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ StringHolder newMinAddress = new StringHolder();
+ StringHolder newMaxAddress = new StringHolder();
+
+
+ // invoke model
+
+ model.getAddressRange(
+ newMinAddress,
+
+newMaxAddress
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ _result.put("NewMinAddress",newMinAddress.getObject());
+ // java.lang.String
+ _result.put("NewMaxAddress",newMaxAddress.getObject());
+ // java.lang.String
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class SetReservedAddressAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public SetReservedAddressAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "SetReservedAddress",
+ ""
+ );
+ this.model=model;
+
+ addInArg(
+ "NewReservedAddresses",
+ upnpService.getStateVariable("ReservedAddresses")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ java.lang.String newReservedAddresses = (java.lang.String) _args.get("NewReservedAddresses");
+
+
+ // invoke model
+
+ model.setReservedAddress(
+ StringHolder.toValue(
+ newReservedAddresses)
+
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class DeleteReservedAddressAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public DeleteReservedAddressAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "DeleteReservedAddress",
+ ""
+ );
+ this.model=model;
+
+ addInArg(
+ "NewReservedAddresses",
+ upnpService.getStateVariable("ReservedAddresses")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ java.lang.String newReservedAddresses = (java.lang.String) _args.get("NewReservedAddresses");
+
+
+ // invoke model
+
+ model.deleteReservedAddress(
+ StringHolder.toValue(
+ newReservedAddresses)
+
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class GetReservedAddressesAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public GetReservedAddressesAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "GetReservedAddresses",
+ ""
+ );
+ this.model=model;
+
+ addOutArg(
+ "NewReservedAddresses",
+ upnpService.getStateVariable("ReservedAddresses")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ StringHolder newReservedAddresses = new StringHolder();
+
+
+ // invoke model
+
+ model.getReservedAddresses(
+ newReservedAddresses
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ _result.put("NewReservedAddresses",newReservedAddresses.getObject());
+ // java.lang.String
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class SetDNSServerAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public SetDNSServerAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "SetDNSServer",
+ ""
+ );
+ this.model=model;
+
+ addInArg(
+ "NewDNSServers",
+ upnpService.getStateVariable("DNSServers")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ java.lang.String newDNSServers = (java.lang.String) _args.get("NewDNSServers");
+
+
+ // invoke model
+
+ model.setDNSServer(
+ StringHolder.toValue(
+ newDNSServers)
+
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class DeleteDNSServerAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public DeleteDNSServerAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "DeleteDNSServer",
+ ""
+ );
+ this.model=model;
+
+ addInArg(
+ "NewDNSServers",
+ upnpService.getStateVariable("DNSServers")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ java.lang.String newDNSServers = (java.lang.String) _args.get("NewDNSServers");
+
+
+ // invoke model
+
+ model.deleteDNSServer(
+ StringHolder.toValue(
+ newDNSServers)
+
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+
+public class GetDNSServersAction extends AbstractUPnPAction {
+
+ LANHostConfigManagementModel model;
+
+ // HERE specific action members
+
+ public GetDNSServersAction(
+ UPnPService upnpService,
+ LANHostConfigManagementModel model
+ ){
+ super(
+ upnpService,
+ "GetDNSServers",
+ ""
+ );
+ this.model=model;
+
+ addOutArg(
+ "NewDNSServers",
+ upnpService.getStateVariable("DNSServers")
+ );
+
+ }
+
+ /**
+ * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+ */
+ public Dictionary invoke(Dictionary _args) throws Exception {
+
+ StringHolder newDNSServers = new StringHolder();
+
+
+ // invoke model
+
+ model.getDNSServers(
+ newDNSServers
+ );
+
+ // build returned Dictionary
+ Dictionary _result = new Hashtable();
+
+ _result.put("NewDNSServers",newDNSServers.getObject());
+ // java.lang.String
+ return _result.isEmpty()?null:_result;
+ }
+
+
+ public void start(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+
+ public void stop(BundleContext bundleContext) throws Exception {
+ // TODO
+ }
+};
+
+}
Propchange: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/igd/service/LANHostConfigManagement.java
------------------------------------------------------------------------------
svn:eol-style = native