RSdp Class Reference

class RSdp : public RSessionBase

Provides a session to the Service Discovery Database.

Used to create subsessions to database functionality. A clients must create and connect a session, before using a RSdpDatabase subsession to access the database.

RSdpDatabase

Inherits from

Public Member Functions
RSdp ()
IMPORT_C TInt Connect ()
IMPORT_C TInt ResourceCount ()
IMPORT_C void ResourceCountMarkEnd ()
IMPORT_C void ResourceCountMarkStart ()
IMPORT_C TVersion Version ()
IMPORT_C TInt __DbgCheckHeap ( TInt )
IMPORT_C TInt __DbgFailNext ( TInt )
IMPORT_C TInt __DbgMarkEnd ( TInt )
IMPORT_C TInt __DbgMarkHeap ()
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Private Attributes
TUint32 iPadding1
TUint32 iPadding2
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RSdp()

IMPORT_C RSdp ( )

Default constructor.

Member Functions Documentation

Connect()

IMPORT_C TInt Connect ( )

Connects a client process to the database.

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

ResourceCount()

IMPORT_C TInt ResourceCount ( )

Gets the number of open subsessions to the database.

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

ResourceCountMarkEnd()

IMPORT_C void ResourceCountMarkEnd ( )

Stops the counter to keep track of open subsessions.

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

ResourceCountMarkStart()

IMPORT_C void ResourceCountMarkStart ( )

Starts the counter to keep track of open subsessions.

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

Version()

IMPORT_C TVersion Version ( ) const

Gets the version of the database server.

__DbgCheckHeap(TInt)

IMPORT_C TInt __DbgCheckHeap ( TInt aCount )

Parameters

TInt aCount

__DbgFailNext(TInt)

IMPORT_C TInt __DbgFailNext ( TInt aCount )

Parameters

TInt aCount

__DbgMarkEnd(TInt)

IMPORT_C TInt __DbgMarkEnd ( TInt aCount )

Parameters

TInt aCount

__DbgMarkHeap()

IMPORT_C TInt __DbgMarkHeap ( )

Member Data Documentation

TUint32 iPadding1

TUint32 iPadding1 [private]

TUint32 iPadding2

TUint32 iPadding2 [private]