|
||
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.
RSdpDatabase
- Subsession to the SDP through which service records and their attributes can be ...
Defined in RSdpDatabase
:
Close()
Closes the SDP database subsession.CreateServiceRecordL(CSdpAttrValueDES &,TSdpServRecordHandle &)
Creates a new service record, with multiple service classes, in the SDP database...CreateServiceRecordL(const TUUID &,TSdpServRecordHandle &)
Creates a new service record, with a single service class, in the SDP database.DeleteAttribute(TSdpServRecordHandle,TSdpAttributeID)
Delete an attribute from a service record.DeleteAttributeL(TSdpServRecordHandle,TSdpAttributeID)
Delete an attribute from a service record.DeleteRecord(TSdpServRecordHandle)
Deletes a service record.DeleteRecordL(TSdpServRecordHandle)
Deletes a service record.Open(RSdp &)
Opens a SDP database subsession.RSdpDatabase()
Default constructor.UpdateAttributeL(TSdpServRecordHandle,TSdpAttributeID,CSdpAttrValue &)
Updates a service record attribute (value encapsulated in a CSdpAttrValue).UpdateAttributeL(TSdpServRecordHandle,TSdpAttributeID,TUint)
Updates a service record attribute (integer value).UpdateAttributeL(TSdpServRecordHandle,TSdpAttributeID,const TDesC16 &)
Updates a service record attribute (narrow descriptor value).UpdateAttributeL(TSdpServRecordHandle,TSdpAttributeID,const TDesC8 &)
Updates a service record attribute (narrow descriptor value).Inherited from RSubSessionBase
:
CloseSubSession(TInt)
Closes the sub-session.CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &)
Creates a new sub-session within an existing session. The new sub-session takes ...CreateSubSession(const RSessionBase &,TInt)
Creates a new sub-session within an existing session.CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &)
Creates a new sub-session within an existing session.Send(TInt)const
Sends a blind message to the server - no reply is expected.Send(TInt,const TIpcArgs &)const
Sends a blind message to the server - no reply is expected.SendReceive(TInt)const
Sends a message to the server and waits synchronously for a reply.SendReceive(TInt,TRequestStatus &)const
Sends a message to the server and waits asynchronously for the reply.SendReceive(TInt,const TIpcArgs &)const
Sends a message to the server and waits synchronously for a reply.SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
Sends a message to the server and waits asynchronously for the reply.Session()const
Returns a copy of the session associated with this sub-session.SubSessionHandle()const
Gets the sub-session handle number.Capability: | LocalServices |
IMPORT_C virtual TInt Open(RSdp &aSession);
Opens a SDP database subsession.
|
|
Capability: | LocalServices |
IMPORT_C virtual 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.
|
Interface status: | deprecated | Use non-leaving version instead |
Capability: | LocalServices |
IMPORT_C void DeleteAttributeL(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID);
Delete an attribute from a service record.
|
RSdpDatabase::DeleteAttribute(TSdpServRecordHandle,TSdpAttributeID)
Delete an attribute from a service record.Capability: | LocalServices |
IMPORT_C void DeleteAttribute(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID);
Delete an attribute from a service record.
|
Interface status: | deprecated | Use non-leaving version instead |
Capability: | LocalServices |
IMPORT_C void DeleteRecordL(TSdpServRecordHandle aHandle);
Deletes a service record.
|
RSdpDatabase::DeleteRecord(TSdpServRecordHandle)
Deletes a service record.Capability: | LocalServices |
IMPORT_C void DeleteRecord(TSdpServRecordHandle aHandle);
Deletes a service record.
|