RSdp Class Reference

#include <btsdp.h>

class RSdp : public RSessionBase

Inherits from

  • RSdp
    Public Member Functions
    RSdp()
    IMPORT_C TIntConnect()
    IMPORT_C TIntResourceCount()
    IMPORT_C voidResourceCountMarkEnd()
    IMPORT_C voidResourceCountMarkStart()
    IMPORT_C TVersionVersion()
    IMPORT_C TInt__DbgCheckHeap(TInt)
    IMPORT_C TInt__DbgFailNext(TInt)
    IMPORT_C TInt__DbgMarkEnd(TInt)
    IMPORT_C TInt__DbgMarkHeap()
    Inherited Attributes
    RHandleBase::iHandle
    Inherited Enumerations
    RHandleBase:TAttributes
    RSessionBase:TAttachMode
    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()

    Detailed Description

    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.

    See also: RSdpDatabase

    Constructor & Destructor Documentation

    RSdp ( )

    IMPORT_CRSdp()

    Default constructor.

    Member Function Documentation

    Connect ( )

    IMPORT_C TIntConnect()

    Connects a client process to the database.

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

    Returns: System-wide error code

    ResourceCount ( )

    IMPORT_C TIntResourceCount()

    Gets the number of open subsessions to the database.

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

    Returns: Number of open subsessions to the database

    ResourceCountMarkEnd ( )

    IMPORT_C voidResourceCountMarkEnd()

    Stops the counter to keep track of open subsessions.

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

    ResourceCountMarkStart ( )

    IMPORT_C voidResourceCountMarkStart()

    Starts the counter to keep track of open subsessions.

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

    Version ( )

    IMPORT_C TVersionVersion()const

    Gets the version of the database server.

    Returns: Version information

    __DbgCheckHeap ( TInt )

    IMPORT_C TInt__DbgCheckHeap(TIntaCount)

    __DbgFailNext ( TInt )

    IMPORT_C TInt__DbgFailNext(TIntaCount)

    __DbgMarkEnd ( TInt )

    IMPORT_C TInt__DbgMarkEnd(TIntaCount)

    __DbgMarkHeap ( )

    IMPORT_C TInt__DbgMarkHeap()