Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: btsdp.h
Link against: sdpdatabase.lib

Class RSdp

RSdp

Support

Supported from 6.1

Description

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.

Derivation

RHandleBaseHandle to an object
RSdpProvides a session to the Service Discovery Database
RSessionBaseClient-side handle to a session with a server

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

See also:


RSdp()

RSdp();

Description

Default constructor.

[Top]


Connect()

TInt Connect();

Description

Connects a client process to the database.

The connection should be closed after use with RHandleBase::Close().

Return value

TInt

System-wide error code

[Top]


ResourceCountMarkStart()

void ResourceCountMarkStart();

Description

Starts the counter to keep track of open subsessions.

This should be used by clients to do resource leakage debugging checks.

[Top]


ResourceCount()

TInt ResourceCount();

Description

Gets the number of open subsessions to the database.

This should be used by clients to do resource leakage debugging checks.

Return value

TInt

Number of open subsessions to the database

[Top]


ResourceCountMarkEnd()

void ResourceCountMarkEnd();

Description

Stops the counter to keep track of open subsessions.

This should be used by clients to do resource leakage debugging checks.

[Top]


Version()

TVersion Version() const;

Description

Gets the version of the database server.

Return value

TVersion

Version information