RMmfSessionBase Class Reference

class RMmfSessionBase : public RSessionBase

RSessionBase adaptor layer Provides typechecking for client-side calls.

Inherits from

Protected Member Functions
TInt SendReceive(TInt)
voidSendReceive(TInt, TRequestStatus &)
TInt SendReceive(TInt, TInt)
TInt SendReceive(TInt, TInt, TInt)
voidSendReceive(TInt, TInt, TRequestStatus &)
voidSendReceive(TInt, TInt, TInt, TRequestStatus &)
TInt SendReceive(TInt, const TDesC8 &)
TInt SendReceive(TInt, const TDesC8 &, const TDesC8 &)
TInt SendReceive(TInt, const TDesC8 &, const TDesC8 &, const TDesC8 &)
voidSendReceive(TInt, const TDesC8 &, TRequestStatus &)
voidSendReceive(TInt, const TDesC8 &, const TDesC8 &, TRequestStatus &)
voidSendReceive(TInt, const TDesC8 &, const TDesC8 &, const TDesC8 &, TRequestStatus &)
voidSendReceive(TInt, const TDesC &, TRequestStatus &)
TInt SendReceive(TInt, const TDesC &)
TInt SendReceive(TInt, TInt, const TDesC8 &, const TDesC8 &)
voidSendReceive(TInt, TInt, const TDesC8 &, const TDesC8 &, TRequestStatus &)
TInt SendReceiveResult(TInt, TDes8 &)
TInt SendReceiveResult(TInt, const TDesC8 &, const TDesC8 &, TDes8 &)
TInt SendReceiveResult(TInt, const TDesC8 &, const TDesC8 &, const TDesC8 &, TDes8 &)
voidSendReceiveResult(TInt, TDes8 &, TRequestStatus &)
voidSendReceiveResult(TInt, const TDesC8 &, const TDesC8 &, TDes8 &, TRequestStatus &)
voidSendReceiveResult(TInt, const TDesC8 &, const TDesC8 &, const TDesC8 &, TDes8 &, TRequestStatus &)
TInt SendReceiveResult(TInt, const TDesC8 &, const TDesC8 &, TDes &)
TInt SendReceiveResult(TInt, TInt, const TDesC8 &, const TDesC8 &, TDes8 &)
voidSendReceiveResult(TInt, TInt, const TDesC8 &, const TDesC8 &, TDes8 &, TRequestStatus &)
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 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

SendReceive(TInt)

TInt SendReceive(TIntaFunction)const [protected, inline]

Issues a synchronous request to the server with the specified function number, but with no arguments.

KErrNone, if the send operation is successful; KErrServerTerminated, if the server no longer present; KErrServerBusy, if there are no message slots available; KErrNoMemory, if there is insufficient memory available.

panic

USER 72 if the function number is negative.

Parameters

TInt aFunctionThe function number identifying the request.

SendReceive(TInt, TRequestStatus &)

voidSendReceive(TIntaFunction,
TRequestStatus &aStatus
)const [protected, inline]

Issues an asynchronous request to the server with the specified function number, but with no arguments.

The completion status of the request is returned via the request status object, aStatus.

panic

USER 72 if the function number is negative.

Parameters

TInt aFunctionThe function number identifying the request.
TRequestStatus & aStatusThe request status object used to contain the completion status of the request.

SendReceive(TInt, TInt)

TInt SendReceive(TIntaFunction,
TIntaParam0
)const [protected, inline]

Parameters

TInt aFunction
TInt aParam0

SendReceive(TInt, TInt, TInt)

TInt SendReceive(TIntaFunction,
TIntaParam0,
TIntaParam1
)const [protected, inline]

Parameters

TInt aFunction
TInt aParam0
TInt aParam1

SendReceive(TInt, TInt, TRequestStatus &)

voidSendReceive(TIntaFunction,
TIntaParam0,
TRequestStatus &aStatus
)const [protected, inline]

Parameters

TInt aFunction
TInt aParam0
TRequestStatus & aStatus

SendReceive(TInt, TInt, TInt, TRequestStatus &)

voidSendReceive(TIntaFunction,
TIntaParam0,
TIntaParam1,
TRequestStatus &aStatus
)const [protected, inline]

Parameters

TInt aFunction
TInt aParam0
TInt aParam1
TRequestStatus & aStatus

SendReceive(TInt, const TDesC8 &)

TInt SendReceive(TIntaFunction,
const TDesC8 &aParam0
)const [protected, inline]

Parameters

TInt aFunction
const TDesC8 & aParam0

SendReceive(TInt, const TDesC8 &, const TDesC8 &)

TInt SendReceive(TIntaFunction,
const TDesC8 &aParam0,
const TDesC8 &aParam1
)const [protected, inline]

Parameters

TInt aFunction
const TDesC8 & aParam0
const TDesC8 & aParam1

SendReceive(TInt, const TDesC8 &, const TDesC8 &, const TDesC8 &)

TInt SendReceive(TIntaFunction,
const TDesC8 &aParam0,
const TDesC8 &aParam1,
const TDesC8 &aParam2
)const [protected, inline]

Parameters

TInt aFunction
const TDesC8 & aParam0
const TDesC8 & aParam1
const TDesC8 & aParam2

SendReceive(TInt, const TDesC8 &, TRequestStatus &)

voidSendReceive(TIntaFunction,
const TDesC8 &aParam0,
TRequestStatus &aStatus
)const [protected, inline]

Parameters

TInt aFunction
const TDesC8 & aParam0
TRequestStatus & aStatus

SendReceive(TInt, const TDesC8 &, const TDesC8 &, TRequestStatus &)

voidSendReceive(TIntaFunction,
const TDesC8 &aParam0,
const TDesC8 &aParam1,
TRequestStatus &aStatus
)const [protected, inline]

Parameters

TInt aFunction
const TDesC8 & aParam0
const TDesC8 & aParam1
TRequestStatus & aStatus

SendReceive(TInt, const TDesC8 &, const TDesC8 &, const TDesC8 &, TRequestStatus &)

voidSendReceive(TIntaFunction,
const TDesC8 &aParam0,
const TDesC8 &aParam1,
const TDesC8 &aParam2,
TRequestStatus &aStatus
)const [protected, inline]

Parameters

TInt aFunction
const TDesC8 & aParam0
const TDesC8 & aParam1
const TDesC8 & aParam2
TRequestStatus & aStatus

SendReceive(TInt, const TDesC &, TRequestStatus &)

voidSendReceive(TIntaFunction,
const TDesC &aParam0,
TRequestStatus &aStatus
)const [protected, inline]

Parameters

TInt aFunction
const TDesC & aParam0
TRequestStatus & aStatus

SendReceive(TInt, const TDesC &)

TInt SendReceive(TIntaFunction,
const TDesC &aParam0
)const [protected, inline]

Parameters

TInt aFunction
const TDesC & aParam0

SendReceive(TInt, TInt, const TDesC8 &, const TDesC8 &)

TInt SendReceive(TIntaFunction,
TIntaParam0,
const TDesC8 &aParam1,
const TDesC8 &aParam2
)const [protected, inline]

Parameters

TInt aFunction
TInt aParam0
const TDesC8 & aParam1
const TDesC8 & aParam2

SendReceive(TInt, TInt, const TDesC8 &, const TDesC8 &, TRequestStatus &)

voidSendReceive(TIntaFunction,
TIntaParam0,
const TDesC8 &aParam1,
const TDesC8 &aParam2,
TRequestStatus &aStatus
)const [protected, inline]

Parameters

TInt aFunction
TInt aParam0
const TDesC8 & aParam1
const TDesC8 & aParam2
TRequestStatus & aStatus

SendReceiveResult(TInt, TDes8 &)

TInt SendReceiveResult(TIntaFunction,
TDes8 &aResult
)const [protected, inline]

Parameters

TInt aFunction
TDes8 & aResult

SendReceiveResult(TInt, const TDesC8 &, const TDesC8 &, TDes8 &)

TInt SendReceiveResult(TIntaFunction,
const TDesC8 &aParam0,
const TDesC8 &aParam1,
TDes8 &aResult
)const [protected, inline]

Parameters

TInt aFunction
const TDesC8 & aParam0
const TDesC8 & aParam1
TDes8 & aResult

SendReceiveResult(TInt, const TDesC8 &, const TDesC8 &, const TDesC8 &, TDes8 &)

TInt SendReceiveResult(TIntaFunction,
const TDesC8 &aParam0,
const TDesC8 &aParam1,
const TDesC8 &aParam2,
TDes8 &aResult
)const [protected, inline]

Parameters

TInt aFunction
const TDesC8 & aParam0
const TDesC8 & aParam1
const TDesC8 & aParam2
TDes8 & aResult

SendReceiveResult(TInt, TDes8 &, TRequestStatus &)

voidSendReceiveResult(TIntaFunction,
TDes8 &aResult,
TRequestStatus &aStatus
)const [protected, inline]

Parameters

TInt aFunction
TDes8 & aResult
TRequestStatus & aStatus

SendReceiveResult(TInt, const TDesC8 &, const TDesC8 &, TDes8 &, TRequestStatus &)

voidSendReceiveResult(TIntaFunction,
const TDesC8 &aParam0,
const TDesC8 &aParam1,
TDes8 &aResult,
TRequestStatus &aStatus
)const [protected, inline]

Parameters

TInt aFunction
const TDesC8 & aParam0
const TDesC8 & aParam1
TDes8 & aResult
TRequestStatus & aStatus

SendReceiveResult(TInt, const TDesC8 &, const TDesC8 &, const TDesC8 &, TDes8 &, TRequestStatus &)

voidSendReceiveResult(TIntaFunction,
const TDesC8 &aParam0,
const TDesC8 &aParam1,
const TDesC8 &aParam2,
TDes8 &aResult,
TRequestStatus &aStatus
)const [protected, inline]

Parameters

TInt aFunction
const TDesC8 & aParam0
const TDesC8 & aParam1
const TDesC8 & aParam2
TDes8 & aResult
TRequestStatus & aStatus

SendReceiveResult(TInt, const TDesC8 &, const TDesC8 &, TDes &)

TInt SendReceiveResult(TIntaFunction,
const TDesC8 &aParam0,
const TDesC8 &aParam1,
TDes &aResult
)const [protected, inline]

Parameters

TInt aFunction
const TDesC8 & aParam0
const TDesC8 & aParam1
TDes & aResult

SendReceiveResult(TInt, TInt, const TDesC8 &, const TDesC8 &, TDes8 &)

TInt SendReceiveResult(TIntaFunction,
TIntaParam0,
const TDesC8 &aParam1,
const TDesC8 &aParam2,
TDes8 &aResult
)const [protected, inline]

Parameters

TInt aFunction
TInt aParam0
const TDesC8 & aParam1
const TDesC8 & aParam2
TDes8 & aResult

SendReceiveResult(TInt, TInt, const TDesC8 &, const TDesC8 &, TDes8 &, TRequestStatus &)

voidSendReceiveResult(TIntaFunction,
TIntaParam0,
const TDesC8 &aParam1,
const TDesC8 &aParam2,
TDes8 &aResult,
TRequestStatus &aStatus
)const [protected, inline]

Parameters

TInt aFunction
TInt aParam0
const TDesC8 & aParam1
const TDesC8 & aParam2
TDes8 & aResult
TRequestStatus & aStatus