Location:
btsdp.h
Link against: sdpdatabase.lib
class RSdpDatabase : public RSdpSubSession;
Subsession to the SDP through which service records and their attributes can be added, deleted, and updated.
RSubSessionBase
- Client-side handle to a sub-session
RSdpSubSession
- Base class used in the derivation of
RSdpDatabase
- Subsession to the SDP through which service records and their attributes can be added, deleted, and updated
Defined in RSdpDatabase
:
Close()
, CreateServiceRecordL()
, CreateServiceRecordL()
, DeleteAttribute()
, DeleteAttributeL()
, DeleteRecord()
, DeleteRecordL()
, Open()
, RSdpDatabase()
, UpdateAttributeL()
, UpdateAttributeL()
, UpdateAttributeL()
, UpdateAttributeL()
Inherited from RSubSessionBase
:
CloseSubSession()
,
CreateAutoCloseSubSession()
,
CreateSubSession()
,
Send()
,
SendReceive()
,
Session()
,
SubSessionHandle()
Capability: | LocalServices |
virtual IMPORT_C TInt Open(RSdp &aSession);
Opens a SDP database subsession.
|
|
Capability: | LocalServices |
virtual IMPORT_C void Close();
Closes the SDP database subsession.
Any records that have been added during this session will be removed when the session is closed.
Capability: | LocalServices |
IMPORT_C void CreateServiceRecordL(const TUUID &aUUID, TSdpServRecordHandle &aHandle);
Creates a new service record, with a single service class, in the SDP database.
|
Capability: | LocalServices |
IMPORT_C void CreateServiceRecordL(CSdpAttrValueDES &aUUIDList, TSdpServRecordHandle &aHandle);
Creates a new service record, with multiple service classes, in the SDP database.
|
Capability: | LocalServices |
IMPORT_C void UpdateAttributeL(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID, CSdpAttrValue &aAttrValue);
Updates a service record attribute (value encapsulated in a CSdpAttrValue
).
If the attribute does not exist, it is created. If it already exists, the current definition is removed and the new value inserted.
No check is made that the attribute value is suitable for the service class to which the record belongs. It is up to the user to ensure that the semantics of the attribute defined by the service class are respected.
|
Capability: | LocalServices |
IMPORT_C void UpdateAttributeL(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID, TUint aUintValue);
Updates a service record attribute (integer value).
If the attribute does not exist, it is created. If it already exists, the current definition is removed and the new value inserted.
No check is made that the attribute value is suitable for the service class to which the record belongs. It is up to the user to ensure that the semantics of the attribute defined by the service class are respected.
|
Capability: | LocalServices |
IMPORT_C void UpdateAttributeL(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID, const TDesC16 &aDesCValue);
Updates a service record attribute (narrow descriptor value).
If the attribute does not exist, it is created. If it already exists, the current value is removed and the new value inserted.
No check is made that the attribute value is suitable for the service class to which the record belongs. It is up to the user to ensure that the semantics of the attribute defined by the service class are respected.
|
Capability: | LocalServices |
IMPORT_C void UpdateAttributeL(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID, const TDesC8 &aDesCValue);
Updates a service record attribute (narrow descriptor value).
If the attribute does not exist, it is created. If it already exists, the current definition is removed and the new value inserted.
No check is made that the attribute value is suitable for the service class to which the record belongs. It is up to the user to ensure that the semantics of the attribute defined by the service class are respected.
|
Capability: | LocalServices |
IMPORT_C void DeleteAttributeL(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID);
Delete an attribute from a service record.
|
Capability: | LocalServices |
IMPORT_C void DeleteAttribute(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID);
Delete an attribute from a service record.
|
Capability: | LocalServices |
IMPORT_C void DeleteRecordL(TSdpServRecordHandle aHandle);
Deletes a service record.
|
Capability: | LocalServices |
IMPORT_C void DeleteRecord(TSdpServRecordHandle aHandle);
Deletes a service record.
|