RWimClient Class Reference

class RWimClient : public RSessionBase

RWimClient, this creates new connection to server and sends syncronous & asyncronous messages to server.

WimClient
Since
Series 60 2.1

Inherits from

Public Member Functions
RWimClient()
~RWimClient()
voidCancelInitialize()
TInt Connect()
voidFreeAddrLst(const TUint32)
voidFreeWIMAddr(const TWimAddress)
voidFreeWIMAddrLst(const TWimAddressList, const TUint)
voidInitialize(TRequestStatus &)
TInt SendReceiveData(TWimServRqst, TIpcArgs &)
voidSendReceiveData(TWimServRqst, TIpcArgs &, TRequestStatus &)
TInt StartWim()
TVersion Version()
Private Member Functions
RWimClient(const RWimClient &)
TInt FindServerFileName(TFileName &)
RWimClient &operator=(const RWimClient &)
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

Constructor & Destructor Documentation

RWimClient()

RWimClient()

Constructor

RWimClient(const RWimClient &)

RWimClient(const RWimClient &aSource)[private]

Copy constructor

Parameters

const RWimClient & aSource-Reference to class object.

~RWimClient()

~RWimClient()[virtual]

Destructor

Member Functions Documentation

CancelInitialize()

voidCancelInitialize()

Cancel initialization command to Server.

Connect()

TInt Connect()

Connect to WIMI server

FindServerFileName(TFileName &)

TInt FindServerFileName(TFileName &aServer)[private]

Return the name of the Wim server file

Parameters

TFileName & aServer-descriptor for server filename

FreeAddrLst(const TUint32)

voidFreeAddrLst(const TUint32addrLst)

Free the address list

Parameters

const TUint32 addrLst-Address of a list to be freed

FreeWIMAddr(const TWimAddress)

voidFreeWIMAddr(const TWimAddressaAddr)

Free the address list

Parameters

const TWimAddress aAddr-Referece to WIMI return void

FreeWIMAddrLst(const TWimAddressList, const TUint)

voidFreeWIMAddrLst(const TWimAddressListaddrLst,
const TUintaSize
)

Free the address list

Parameters

const TWimAddressList addrLst-Reference to WIMI
const TUint aSize-Size to be freed return void

Initialize(TRequestStatus &)

voidInitialize(TRequestStatus &aStatus)

Sends initialization command to Server.

Parameters

TRequestStatus & aStatus-Client status

SendReceiveData(TWimServRqst, TIpcArgs &)

TInt SendReceiveData(TWimServRqstaFn,
TIpcArgs &aIpcArcs
)

Sends data synchronoysly to server

Parameters

TWimServRqst aFnthe WIMRequest operation
TIpcArgs & aIpcArcs

SendReceiveData(TWimServRqst, TIpcArgs &, TRequestStatus &)

voidSendReceiveData(TWimServRqstaFn,
TIpcArgs &aIpcArgs,
TRequestStatus &aStatus
)

Sends data asynchronoysly to server

Parameters

TWimServRqst aFnthe WIMRequest operation
TIpcArgs & aIpcArgsIPC parameters
TRequestStatus & aStatus-Caller's status

StartWim()

TInt StartWim()

Starts Server

Version()

TVersion Version()const

Return version

operator=(const RWimClient &)

RWimClient &operator=(const RWimClient &aParam)[private]

Assigment operator

Parameters

const RWimClient & aParam-Reference to class object.