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 ()
void CancelInitialize ()
TInt Connect ()
void FreeAddrLst (const TUint32 )
void FreeWIMAddr (const TWimAddress )
void FreeWIMAddrLst (const TWimAddressList , const TUint )
void Initialize ( TRequestStatus &)
TInt SendReceiveData ( TWimServRqst , TIpcArgs &)
void SendReceiveData ( 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()

void CancelInitialize ( )

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)

void FreeAddrLst ( const TUint32 addrLst )

Free the address list

Parameters

const TUint32 addrLst -Address of a list to be freed

FreeWIMAddr(const TWimAddress)

void FreeWIMAddr ( const TWimAddress aAddr )

Free the address list

Parameters

const TWimAddress aAddr -Referece to WIMI return void

FreeWIMAddrLst(const TWimAddressList, const TUint)

void FreeWIMAddrLst ( const TWimAddressList addrLst,
const TUint aSize
)

Free the address list

Parameters

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

Initialize(TRequestStatus &)

void Initialize ( TRequestStatus & aStatus )

Sends initialization command to Server.

Parameters

TRequestStatus & aStatus -Client status

SendReceiveData(TWimServRqst, TIpcArgs &)

TInt SendReceiveData ( TWimServRqst aFn,
TIpcArgs & aIpcArcs
)

Sends data synchronoysly to server

Parameters

TWimServRqst aFn the WIMRequest operation
TIpcArgs & aIpcArcs

SendReceiveData(TWimServRqst, TIpcArgs &, TRequestStatus &)

void SendReceiveData ( TWimServRqst aFn,
TIpcArgs & aIpcArgs,
TRequestStatus & aStatus
)

Sends data asynchronoysly to server

Parameters

TWimServRqst aFn the WIMRequest operation
TIpcArgs & aIpcArgs IPC 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.