RMPXSession Class Reference

class RMPXSession

Client session to playback server.

MPXCommon.lib

Public Member Functions
RMPXSession()
~RMPXSession()
IMPORT_C voidClose()
IMPORT_C TIntConnect(const TDesC &, const TDesC &, const TVersion &)
IMPORT_C TIntReconnect()
IMPORT_C voidSendReceive(TInt, TRequestStatus &)
IMPORT_C voidSendReceive(TInt, const TIpcArgs &, TRequestStatus &)
IMPORT_C TIntSendReceiveL(TInt)
IMPORT_C TIntSendReceiveL(TInt, const TIpcArgs &)
IMPORT_C TVersionVersion()
Private Attributes
RMPXSessionRetry *iSessionRetry

Constructor & Destructor Documentation

RMPXSession()

IMPORT_CRMPXSession()

Constructor

Since
S60 5.0

~RMPXSession()

IMPORT_C~RMPXSession()

Destructor

Since
S60 5.0

Member Functions Documentation

Close()

IMPORT_C voidClose()

Close session.

Since
S60 3.2.3

Connect(const TDesC &, const TDesC &, const TVersion &)

IMPORT_C TIntConnect(const TDesC &aServer,
const TDesC &aImage,
const TVersion &aVersion
)

Connect to server.

Since
S60 3.2.3

Parameters

const TDesC & aServerserver name
const TDesC & aImageserver image name
const TVersion & aVersion

Reconnect()

IMPORT_C TIntReconnect()const

Reconnect to server.

Since
S60 5.0

SendReceive(TInt, TRequestStatus &)

IMPORT_C voidSendReceive(TIntaFunction,
TRequestStatus &aStatus
)const

Send message asynchronously.

Since
S60 3.2.3

Parameters

TInt aFunctionfunction code
TRequestStatus & aStatusthe request status object used to contain the completion status of the request

SendReceive(TInt, const TIpcArgs &, TRequestStatus &)

IMPORT_C voidSendReceive(TIntaFunction,
const TIpcArgs &aArgs,
TRequestStatus &aStatus
)const

Send message asynchronously.

Since
S60 3.2.3

Parameters

TInt aFunctionfunction code
const TIpcArgs & aArgsparameter to server
TRequestStatus & aStatusthe request status object used to contain the completion status of the request

SendReceiveL(TInt)

IMPORT_C TIntSendReceiveL(TIntaFunction)const

Send a message.

Since
S60 3.2.3

Parameters

TInt aFunctionfunction code

SendReceiveL(TInt, const TIpcArgs &)

IMPORT_C TIntSendReceiveL(TIntaFunction,
const TIpcArgs &aArgs
)const

Send a message.

Since
S60 3.2.3

Parameters

TInt aFunctionfunction code
const TIpcArgs & aArgsparameter to server

Version()

IMPORT_C TVersionVersion()const

Get version info.

Since
S60 3.2.3

Member Data Documentation

RMPXSessionRetry * iSessionRetry

RMPXSessionRetry *iSessionRetry[private]