|
||
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.
RHandleBase
- A handle to an object.
RSessionBase
-
Client-side handle to a session with a server.
RSdp
- Provides a session to the Service Discovery Database.
Defined in RSdp
:
Connect()
Connects a client process to the database.RSdp()
Default constructor. ResourceCount()
Gets the number of open subsessions to the database.ResourceCountMarkEnd()
Stops the counter to keep track of open subsessions.ResourceCountMarkStart()
Starts the counter to keep track of open subsessions.Version()const
Gets the version of the database server.Inherited from RHandleBase
:
Attributes()const
BTraceId()const
Returns a unique object identifier for use with BTrace
Close()
Closes the handle.Duplicate(const RThread &,TOwnerType)
Creates a valid handle to the kernel object for which the specified thread alrea...FullName()const
Gets the full name of the handle.FullName(TDes &)const
Gets the full name of the handle.Handle()const
Retrieves the handle-number of the object associated with this handle.HandleInfo(THandleInfo *)
Gets information about the handle.Name()const
Gets the name of the handle.Open(const TFindHandleBase &,TOwnerType)
Opens a handle to a kernel side object found using a find-handle object.RHandleBase(TInt)
Copy constructor.SetHandle(TInt)
Sets the handle-number of this handle to the specified value.SetHandleNC(TInt)
Sets the handle-number of this handle to the specified value, and marks it as no...iHandle
Inherited from RSessionBase
:
CreateSession(RServer2,const TVersion &)
Creates a session with a server, specifying no message slots.CreateSession(RServer2,const TVersion &,TInt)
Creates a session with a server.CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
Creates a session with a server.CreateSession(const TDesC &,const TVersion &)
Creates a session with a server, specifying no message slots.CreateSession(const TDesC &,const TVersion &,TInt)
Creates a session with a server.CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
Creates a session with a server.CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
EAutoAttach
EExplicitAttach
Open(RMessagePtr2,TInt,TOwnerType)
Opens a handle to a session using a handle number sent by a client to a server.Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
Opens a handle to a session using a handle number sent by a client to a server, ...Open(TInt,TOwnerType)
Opens a handle to a session using a handle number passed as an environment data ...Open(TInt,const TSecurityPolicy &,TOwnerType)
Opens a handle to a session using a handle number passed as an environment data ...Send(TInt)const
Issues a blind request to the server with the specified function number, but wit...Send(TInt,const TIpcArgs &)const
Issues a blind request to the server with the specified function number, and arg...SendReceive(TInt)const
Issues a synchronous request to the server with the specified function number, b...SendReceive(TInt,TRequestStatus &)const
Issues an asynchronous request to the server with the specified function number,...SendReceive(TInt,const TIpcArgs &)const
Issues a synchronous request to the server with the specified function number an...SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
Issues an asynchronous request to the server with the specified function number ...SetReturnedHandle(TInt)
Sets the handle-number of this handle to the specified value.SetReturnedHandle(TInt,RHandleBase &)
SetReturnedHandle(TInt,const TSecurityPolicy &)
Sets the handle-number of this session handle to the specified value after valid...ShareAuto()
Creates a session that can be shared by other threads in the current process.ShareProtected()
Creates a session handle that can be be passed via IPC to another process as wel...TAttachMode
Indicates whether or not threads in the process are automatically attached to th...RSdpDatabase
Subsession to the SDP through which service records and their attributes can be ...IMPORT_C TInt Connect();
Connects a client process to the database.
The connection should be closed after use with RHandleBase::Close()
.
|
IMPORT_C TVersion Version() const;
Gets the version of the database server.
|
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.
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.
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.
|