CUpnpDeviceLibraryElement Class Reference
class CUpnpDeviceLibraryElement : public CUpnpTimeoutElement |
This class has two main functionalities: 1. Timeout from CUpnpTimeoutElement 2. Buffers to store the data about a UPnP device
Inherits from
- CUpnpDeviceLibraryElement
Constructor & Destructor Documentation
CUpnpDeviceLibraryElement(MUpnpTimeoutElementParent &)
~CUpnpDeviceLibraryElement()
IMPORT_C | ~CUpnpDeviceLibraryElement | ( | ) | [virtual] |
Member Functions Documentation
AddInfoFromNotificationTypeHeaderL(CUpnpSsdpMessage *)
Add data (only from Notification Type Header) of a SSDP message to the device library
AddInfoL(CUpnpSsdpMessage *, TInt &)
Add data of a SSDP message to the device library
- Since
- Series60 2.0
Parameters
CUpnpSsdpMessage * aMessage | A SSDP message |
TInt & aUpdateId | Reference to current update id. If required \ the value of this update id is changed when device is added to \ device library. |
AddInfoL(const TUpnpAddLocalDevice *, const TDesC8 &, const TInetAddr &)
Add data got from local device to the device library.
- Since
- Series60 2.0
Parameters
const TUpnpAddLocalDevice * aIndex | A indexing structure for the data buffer |
const TDesC8 & aBuffer | A buffer containing the actual data |
const TInetAddr & aAddr | Address of the device that is to be added. |
AddInfoL(const TUpnpAddLocalDevice *, const TDesC8 &)
Add data got from local device to the device library.
- Since
- Series60 2.0
Parameters
const TUpnpAddLocalDevice * aIndex | A indexing structure for the data buffer |
const TDesC8 & aBuffer | A buffer containing the actual data |
AddServiceTypeL(const TDesC8 &)
void | AddServiceTypeL | ( | const TDesC8 & | aServiceType | ) | [private] |
Adds a service to this element. Service type is aServiceType (ConnectionManager:1 for example).
- Since
- Series60 2.0
Parameters
const TDesC8 & aServiceType | Name of service that is to be added. |
Advertised()
Is advertised.
- Since
- Series60 3.2
Advertising()
Sets iAdvertised to ETrue.
- Since
- Series60 3.2
AdvertisingFinished()
void | AdvertisingFinished | ( | ) | |
Sets iAdvertised to EFalse.
- Since
- S60 5.1
Alive()
IMPORT_C TBool | Alive | ( | ) | const |
Is alive.
- Since
- Series60 2.0
AsTDeviceL()
?member_description.
- Since
- Series60 2.0
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
DescriptionUrl()
IMPORT_C TDesC8 & | DescriptionUrl | ( | ) | |
Returns the description URL of this element.
- Since
- Series60 2.0
DeviceType()
Returns the device type of this element.
- Since
- Series60 2.0
Domain()
Returns the domain of this element.
- Since
- Series60 2.0
Expired()
Idicate if device cache-control time expired.
- Since
- Series60 3.2
Filter()
Should be filtered.
- Since
- Series60 3.2
HasPrefix(const TDesC8 &, const TDesC8 &)
Check if a aDescriptor has prefix aPrefix
IsRootDevice()
IMPORT_C TBool | IsRootDevice | ( | ) | const |
Returns true, if the element describes a root device.
- Since
- Series60 2.0
Local()
IMPORT_C TBool | Local | ( | ) | const |
Return local.
- Since
- Series60 2.0
NewL(MUpnpTimeoutElementParent &)
ServiceList()
Returns an array containing the service types of the services of this element.
- Since
- Series60 2.0
SetAlive(TBool)
IMPORT_C void | SetAlive | ( | TBool | aAlive | ) | |
SetAlive.
- Since
- Series60 2.0
SetDescriptionUrlL(const TDesC8 &)
void | SetDescriptionUrlL | ( | const TDesC8 & | aDescriptionURL | ) | [private] |
Sets the url to this device's description file.
- Since
- Series60 2.0
Parameters
const TDesC8 & aDescriptionURL | New value of description url. |
SetDescriptionUrlL(const TDesC8 &, const TInetAddr &, const TDesC8 &)
void | SetDescriptionUrlL | ( | const TDesC8 & | aDescriptionURL, |
| const TInetAddr & | aAddr, |
| const TDesC8 & | aPort |
| ) | [private] |
Sets the url to this device's description file.
Parameters
const TDesC8 & aDescriptionURL | New value of description url. |
const TInetAddr & aAddr | Address of the device. |
const TDesC8 & aPort | Port of the device. |
SetDeviceTypeL(const TDesC8 &)
void | SetDeviceTypeL | ( | const TDesC8 & | aDeviceType | ) | [private] |
Sets the device's type (for example MediaServer:1).
- Since
- Series60 2.0
Parameters
const TDesC8 & aDeviceType | New value for device type. |
SetDomainL(const TDesC8 &)
void | SetDomainL | ( | const TDesC8 & | aDomain | ) | [private] |
Sets the domain value for this element.
- Since
- Series60 2.0
Parameters
const TDesC8 & aDomain | New value for Domain. |
SetExpired(TBool)
void | SetExpired | ( | TBool | aExpired | ) | |
Setter.
- Since
- Series60 3.2
SetFilter(TBool)
void | SetFilter | ( | TBool | aFilter | ) | |
SetFilter.
- Since
- Series60 2.0
SetLocal(TBool)
void | SetLocal | ( | TBool | aLocal | ) | |
Set local.
- Since
- Series60 2.0
Parameters
TBool aLocal | if local or not |
SetRootDevice(TBool)
void | SetRootDevice | ( | TBool | aRootDevice | ) | |
Set root device.
- Since
- Series60 2.0
Parameters
TBool aRootDevice | root device |
SetUpdateId(TInt)
IMPORT_C void | SetUpdateId | ( | TInt | aUpdateId | ) | |
Set update id.
- Since
- Series60 2.0
SetUuidL(const TDesC8 &)
void | SetUuidL | ( | const TDesC8 & | aUUID | ) | [private] |
Sets the UUID of a device to aUUID.
- Since
- Series60 2.0
Parameters
const TDesC8 & aUUID | UUID value that is to be set for this element. |
UUID()
Returns the UUID of this element.
- Since
- Series60 2.0
UpdateId()
IMPORT_C TInt | UpdateId | ( | ) | const |
Return update ID.
- Since
- Series60 2.0
Member Data Documentation
TBool
iAdvertised
TBool
| iAdvertised | [private] |
HBufC8 * iDescriptionURL
HBufC8 * | iDescriptionURL | [private] |
TBool
iRootDevice
TBool
| iRootDevice | [private] |
CDesC8ArrayFlat * iServiceList
TInt
iUpdateId
TInt
| iUpdateId | [protected] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.