Location:
btsdp.h
Link against: sdpdatabase.lib
RSdp
Supported from 6.1
Provides a session to the Service Discovery Database.
A clients must create and connect a session, before using a
RSdpDatabase
subsession to access the database.
|
Defined in RSdp
:
Connect()
, RSdp()
, ResourceCount()
, ResourceCountMarkEnd()
, ResourceCountMarkStart()
, Version()
Inherited from RHandleBase
:
Close()
,
Duplicate()
,
Handle()
,
SetHandle()
Inherited from RSessionBase
:
Attach()
,
CreateSession()
,
EAutoAttach
,
EExplicitAttach
,
Send()
,
SendReceive()
,
SetRetry()
,
Share()
,
TAttachMode
TInt Connect();
Connects a client process to the database.
The connection should be closed after use with
RHandleBase::Close()
.
|
void ResourceCountMarkStart();
Starts the counter to keep track of open subsessions.
This should be used by clients to do resource leakage debugging checks.
TInt ResourceCount();
Gets the number of open subsessions to the database.
This should be used by clients to do resource leakage debugging checks.
|
void ResourceCountMarkEnd();
Stops the counter to keep track of open subsessions.
This should be used by clients to do resource leakage debugging checks.
TVersion Version() const;
Gets the version of the database server.
|