MXIMPStatus Class Reference

class MXIMPStatus : public MXIMPBase

Interface for status object.

Status object is used in XIMP Framework API to present result code and additional textual details from request completions, context state changes and similar events.

Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

~MXIMPStatus()

~MXIMPStatus ( ) [inline, virtual]

Public destructor. Objects can be deleted through this interface.

Member Functions Documentation

ProtocolResultCode()

TInt ProtocolResultCode ( ) const [pure virtual]

Gets the protocol level response code.

ProtocolResultDescription()

const TDesC16 & ProtocolResultDescription ( ) const [pure virtual]

Get the textual result description. Textual descriptions are protocol specific.

ResultCode()

TInt ResultCode ( ) const [pure virtual]

Gets request completion code.

Result code can be:
  • one of the system wide errors

  • one of the ximp core specific errors defined in in ximperrors.hrh

  • one of the presence specific errors defined in in presenceerrors.hrh

  • error specific to the underlying communication channel

SetProtocolResultCode(TInt)

void SetProtocolResultCode ( TInt aCode ) [pure virtual]

Sets textual result description.

Parameters

TInt aCode

SetProtocolResultDescriptionL(const TDesC16 &)

void SetProtocolResultDescriptionL ( const TDesC16 & aDescription ) [pure virtual]

Sets textual result description.

Parameters

const TDesC16 & aDescription The textual result description.

SetResultCode(TInt)

void SetResultCode ( TInt aCode ) [pure virtual]

Sets request completion code.

Parameters

TInt aCode The result code.