RMmfSessionBase Class Reference

#include <mmf/common/mmfipc.h>

class RMmfSessionBase : public RSessionBase

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 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 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

RSessionBase adaptor layer

Provides typechecking for client-side calls.

Member Function Documentation

SendReceive ( TInt )

TInt SendReceive(TIntaFunction)const [protected, inline]

Reimplemented from RSessionBase::SendReceive(TInt)const

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

Parameters
aFunctionThe function number identifying the request.
Return Value
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 Codes
USER72 if the function number is negative.

SendReceive ( TInt, TRequestStatus & )

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

Reimplemented from RSessionBase::SendReceive(TInt,TRequestStatus &)const

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.

Parameters
aFunctionThe function number identifying the request.
aStatusThe request status object used to contain the completion status of the request.
Panic Codes
USER72 if the function number is negative.

SendReceive ( TInt, TInt )

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

SendReceive ( TInt, TInt, TInt )

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

SendReceive ( TInt, TInt, TRequestStatus & )

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

SendReceive ( TInt, TInt, TInt, TRequestStatus & )

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

SendReceive ( TInt, const TDesC8 & )

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

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

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

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

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

SendReceive ( TInt, const TDesC8 &, TRequestStatus & )

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

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

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

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]

SendReceive ( TInt, const TDesC &, TRequestStatus & )

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

SendReceive ( TInt, const TDesC & )

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

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

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

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

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

SendReceiveResult ( TInt, TDes8 & )

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

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

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

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]

SendReceiveResult ( TInt, TDes8 &, TRequestStatus & )

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

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

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

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]

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

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

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

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

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]