RHWRMClient Class Reference

class RHWRMClient : public RSessionBase

Base class of the client-side handle to a session with the HWRM Server.

Inherits from

Public Member Functions
IMPORT_C TInt Connect ( THWRMResourceType )
IMPORT_C void ExecuteAsyncOperation ( TInt , const TIpcArgs &, TRequestStatus &)
IMPORT_C TInt ExecuteOperation ( TInt , const TIpcArgs &)
Private Member Functions
TFullName ServerLocation ()
TVersion ServerVersion ()
TInt StartServer ()
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
Inherited Attributes
RHandleBase::iHandle

Member Functions Documentation

Connect(THWRMResourceType)

IMPORT_C TInt Connect ( THWRMResourceType aType )

C++ default constructor.

Parameters

THWRMResourceType aType Resource type

ExecuteAsyncOperation(TInt, const TIpcArgs &, TRequestStatus &)

IMPORT_C void ExecuteAsyncOperation ( TInt aCommand,
const TIpcArgs & aArgs,
TRequestStatus & aStatus
) const

Send server a command. This method is just a public wrapper for asynchronous version of SendReceive.

Parameters

TInt aCommand Command identifier.
const TIpcArgs & aArgs Command arguments.
TRequestStatus & aStatus Status object for async call

ExecuteOperation(TInt, const TIpcArgs &)

IMPORT_C TInt ExecuteOperation ( TInt aCommand,
const TIpcArgs & aArgs
) const

Send server a command. This method is just a public wrapper for SendReceive.

Parameters

TInt aCommand Command identifier.
const TIpcArgs & aArgs Command arguments.

ServerLocation()

TFullName ServerLocation ( ) const [private]

Return server location

ServerVersion()

TVersion ServerVersion ( ) const [private]

Return version of server

StartServer()

TInt StartServer ( ) const [private]

Starts server