fr.imag.adele.bundle.upnp.igd.service
Class WANIPConnection.PortMappingEnabledStateVariable

java.lang.Object
  extended byfr.imag.adele.util.upnp.AbstractUPnPStateVariable
      extended byfr.imag.adele.bundle.upnp.igd.service.WANIPConnection.PortMappingEnabledStateVariable
All Implemented Interfaces:
org.osgi.framework.BundleActivator, org.osgi.service.upnp.UPnPStateVariable
Enclosing class:
WANIPConnection

public class WANIPConnection.PortMappingEnabledStateVariable
extends fr.imag.adele.util.upnp.AbstractUPnPStateVariable


Field Summary
static String DATATYPE
           
static String NAME
           
 
Fields inherited from class fr.imag.adele.util.upnp.AbstractUPnPStateVariable
ALLOWED_VALUES, DATA_TYPE, DEFAULT_VALUE, MAX, MIN, OPTIONAL, SENDEVENT, STEP, upnpService
 
Fields inherited from interface org.osgi.service.upnp.UPnPStateVariable
TYPE_BIN_BASE64, TYPE_BIN_HEX, TYPE_BOOLEAN, TYPE_CHAR, TYPE_DATE, TYPE_DATETIME, TYPE_DATETIME_TZ, TYPE_FIXED_14_4, TYPE_FLOAT, TYPE_I1, TYPE_I2, TYPE_I4, TYPE_INT, TYPE_NUMBER, TYPE_R4, TYPE_R8, TYPE_STRING, TYPE_TIME, TYPE_TIME_TZ, TYPE_UI1, TYPE_UI2, TYPE_UI4, TYPE_URI, TYPE_UUID
 
Constructor Summary
WANIPConnection.PortMappingEnabledStateVariable(org.osgi.service.upnp.UPnPService upnpService, WANIPConnectionModel model)
           
 
Method Summary
 Object getValue()
          invoked for the first notification just after a subscription
 void start(org.osgi.framework.BundleContext bundleContext)
           
 void stop(org.osgi.framework.BundleContext bundleContext)
           
 
Methods inherited from class fr.imag.adele.util.upnp.AbstractUPnPStateVariable
getAllowedValues, getDefaultValue, getJavaDataType, getMaximum, getMinimum, getName, getStep, getUPnPDataType, sendsEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

DATATYPE

public static final String DATATYPE
See Also:
Constant Field Values
Constructor Detail

WANIPConnection.PortMappingEnabledStateVariable

public WANIPConnection.PortMappingEnabledStateVariable(org.osgi.service.upnp.UPnPService upnpService,
                                                       WANIPConnectionModel model)
Method Detail

start

public void start(org.osgi.framework.BundleContext bundleContext)
           throws Exception
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext bundleContext)
          throws Exception
Throws:
Exception

getValue

public Object getValue()
invoked for the first notification just after a subscription

See Also:
UPnPStateVariableDescriptor.getValue()