RAlwaysOnlineClientSession Class Reference

class RAlwaysOnlineClientSession : public RSessionBase

CAlwaysOnlineClientSession

Client interface for always online service

Inherits from

Public Member Functions
RAlwaysOnlineClientSession()
~RAlwaysOnlineClientSession()
IMPORT_C TIntConnect()
IMPORT_C voidRelayCommandL(TAlwaysOnlineServerAPICommands, TDes8 &)
IMPORT_C voidSendCommandAsync(const TAlwaysOnlineServerAPICommands, TDes8 &, TRequestStatus &)
IMPORT_C TIntSendReceiveSync(const TAlwaysOnlineServerAPICommands, TDes8 &, TDes8 &)
IMPORT_C voidSendSinglePacketL(const TAlwaysOnlineServerAPICommands, TDes8 &)
IMPORT_C TVersionVersion()
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

RAlwaysOnlineClientSession()

IMPORT_CRAlwaysOnlineClientSession()

~RAlwaysOnlineClientSession()

IMPORT_C~RAlwaysOnlineClientSession()

Destructor ~RAlwaysOnlineClientSession

Member Functions Documentation

Connect()

IMPORT_C TIntConnect()

Connect

RelayCommandL(TAlwaysOnlineServerAPICommands, TDes8 &)

IMPORT_C voidRelayCommandL(TAlwaysOnlineServerAPICommandsaCommand,
TDes8 &aParameter
)
Sends command with parameter to always online server, connection must be established before calling this method
Since
Series60 2.6

Parameters

TAlwaysOnlineServerAPICommands aCommand
TDes8 & aParameter

SendCommandAsync(const TAlwaysOnlineServerAPICommands, TDes8 &, TRequestStatus &)

IMPORT_C voidSendCommandAsync(const TAlwaysOnlineServerAPICommandsaCommand,
TDes8 &aParameter,
TRequestStatus &aStatus
)
Sends command with parameter asynchronically
Since
Series60 3.2.3

Parameters

const TAlwaysOnlineServerAPICommands aCommand
TDes8 & aParameter
TRequestStatus & aStatus

SendReceiveSync(const TAlwaysOnlineServerAPICommands, TDes8 &, TDes8 &)

IMPORT_C TIntSendReceiveSync(const TAlwaysOnlineServerAPICommandsaCommand,
TDes8 &aParameter,
TDes8 &aResultParameter
)
Sends command and receive result in a result parameter
Since
Series60 3.2.3

Parameters

const TAlwaysOnlineServerAPICommands aCommand
TDes8 & aParameter
TDes8 & aResultParameter

SendSinglePacketL(const TAlwaysOnlineServerAPICommands, TDes8 &)

IMPORT_C voidSendSinglePacketL(const TAlwaysOnlineServerAPICommandsaCommand,
TDes8 &aParameter
)
Sends command with parameter to always online server, function opens and closes connection
Since
Series60 2.6

Parameters

const TAlwaysOnlineServerAPICommands aCommand
TDes8 & aParameter

Version()

IMPORT_C TVersionVersion()const

Version