com.francetelecom.tr157.implem
Class RootDeviceImp

java.lang.Object
  extended by com.francetelecom.tr157.gen.RootDevice
      extended by com.francetelecom.tr157.implem.RootDeviceImp

public class RootDeviceImp
extends RootDevice

The Class RootDeviceImp.


Field Summary
static java.lang.String BYE_BYE
          The Constant BYE_BYE.
static java.lang.String LEASE_ACTIVE
          The Constant LEASE_ACTIVE.
 
Constructor Summary
RootDeviceImp(IParameterData data, java.lang.String basePath, org.osgi.service.upnp.UPnPDevice pUPnPDevice)
          Instantiates a new root device imp.
 
Method Summary
 Parameter getFriendlyNameParameter()
          Gets the friendly name parameter.
 Parameter getManufacturerParameter()
          Gets the manufacturer parameter.
 Parameter getModelNameParameter()
          Gets the model name parameter.
 Parameter getModelNumberParameter()
          Gets the model number parameter.
 void initialize()
          Initialize.
 void setStatus(java.lang.String status)
          Sets the status.
 
Methods inherited from class com.francetelecom.tr157.gen.RootDevice
createHost, createLeaseTime, createLocation, createServer, createStatus, createUSN, createUUID, getBasePath, getData, getParamHost, getParamLeaseTime, getParamLocation, getParamServer, getParamStatus, getParamUSN, getParamUUID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEASE_ACTIVE

public static final java.lang.String LEASE_ACTIVE
The Constant LEASE_ACTIVE.

See Also:
Constant Field Values

BYE_BYE

public static final java.lang.String BYE_BYE
The Constant BYE_BYE.

See Also:
Constant Field Values
Constructor Detail

RootDeviceImp

public RootDeviceImp(IParameterData data,
                     java.lang.String basePath,
                     org.osgi.service.upnp.UPnPDevice pUPnPDevice)
Instantiates a new root device imp.

Parameters:
data - the data
basePath - the base path
pUPnPDevice - the u pn p device
Method Detail

initialize

public void initialize()
                throws Fault
Initialize.

The following actions are performed:

The parameters LeaseTime, Location, Server abd Host cann't be set.

Overrides:
initialize in class RootDevice
Throws:
Fault - the fault
See Also:
RootDevice.initialize()

setStatus

public void setStatus(java.lang.String status)
Sets the status.

Parameters:
status - the new status

getManufacturerParameter

public Parameter getManufacturerParameter()
Gets the manufacturer parameter.

Returns:
the manufacturer parameter

getFriendlyNameParameter

public Parameter getFriendlyNameParameter()
Gets the friendly name parameter.

Returns:
the friendly name parameter

getModelNameParameter

public Parameter getModelNameParameter()
Gets the model name parameter.

Returns:
the model name parameter

getModelNumberParameter

public Parameter getModelNumberParameter()
Gets the model number parameter.

Returns:
the model number parameter


Copyright © 2011 FranceTelecom. All Rights Reserved.