COMASuplAsnMessageBase Class Reference

class COMASuplAsnMessageBase : public CBase
Base class for all the messages. Stores information like version, session id Also provides the virtual function for encoding eposomasuplasnconverter.lib
Since
Series 60 Series60_3.1U

Inherits from

  • COMASuplAsnMessageBase

Constructor & Destructor Documentation

~COMASuplAsnMessageBase()

IMPORT_C~COMASuplAsnMessageBase()[virtual]

Member Functions Documentation

Clone(const COMASuplAsnMessageBase *, TInt &)

IMPORT_C voidClone(const COMASuplAsnMessageBase *,
TInt &
)[pure virtual]
Virtual Method to clone message
Since
Series 60 3.1U

Parameters

const COMASuplAsnMessageBase *
TInt &

CloneBaseL(const COMASuplAsnMessageBase *, TInt &)

IMPORT_C voidCloneBaseL(const COMASuplAsnMessageBase *aBase,
TInt &aErrorCode
)
Method to clone base objects
Since
Series 60 3.1U

Parameters

const COMASuplAsnMessageBase * aBasebase pointer
TInt & aErrorCode

EncodeL(TInt &)

IMPORT_C HBufC8 *EncodeL(TInt &aErrorCode)[virtual]
Encode Method.
Since
Series 60 3.1U

Parameters

TInt & aErrorCodeerror during encoding

MessageBase(TOMASuplVersion &, COMASuplSessionID *&)

IMPORT_C voidMessageBase(TOMASuplVersion &aVersion,
COMASuplSessionID *&aSessionID
)const
Getter Method for base members
Since
Series 60 3.1U

Parameters

TOMASuplVersion & aVersionVersion of message
COMASuplSessionID *& aSessionIDSessionId of message

MessageLength()

IMPORT_C TIntMessageLength()const
Getter method for MessageLength
Since
Series 60 3.1U

MessageType()

IMPORT_C TSuplMessageTypeMessageType()const
Getter method for MessageType
Since
Series 60 3.1U

SessionId(COMASuplSessionID *&)

IMPORT_C voidSessionId(COMASuplSessionID *&aSessionId)const
Getter method for SessionId
Since
Series 60 3.1U

Parameters

COMASuplSessionID *& aSessionIdSession Id

SetMessageBase(const TOMASuplVersion &, COMASuplSessionID *)

IMPORT_C voidSetMessageBase(const TOMASuplVersion &aVersion,
COMASuplSessionID *aSessionID
)
Setter method for MessageBase
Since
Series 60 3.1U

Parameters

const TOMASuplVersion & aVersionversion of message
COMASuplSessionID * aSessionIDsession id of session

SetMessageLength(TInt)

IMPORT_C voidSetMessageLength(TIntaMessageLength)

Parameters

TInt aMessageLength

SetMessageType(TSuplMessageType)

IMPORT_C voidSetMessageType(TSuplMessageTypeaMessageType)[protected]
Setter method for MessageType
Since
Series 60 3.1U

Parameters

TSuplMessageType aMessageTypetype of supl message

Member Enumerations Documentation

Enum TSuplMessageType

Type of Supl Message

Enumerators

ESUPL_INIT = 0
ESUPL_START = 1
ESUPL_RESPONSE
ESUPL_POSINIT
ESUPL_POS
ESUPL_END
ESUPL_AUTH_REQ
ESUPL_AUTH_RESP
ESUPL_EXTENSION_MARKER2
ESUPL_TRIG_START
ESUPL_TRIG_RESPONSE
ESUPL_TRIG_STOP
ESUPL_SUPLNOTIFY
ESUPL_SUPLNOTIFYRESPONSE
ESUPL_SUPLSETINIT
ESUPL_REPORT

Member Data Documentation

TInt iMessageLength

TInt iMessageLength[protected]

TSuplMessageType iMessageType

TSuplMessageType iMessageType[protected]

TInt iOptionalMask

TInt iOptionalMask[protected]

COMASuplSessionID * iSessionId

COMASuplSessionID *iSessionId[protected]

COMASuplSessionID * iTmpSessionId

COMASuplSessionID *iTmpSessionId[protected]

TOMASuplVersion iVersion

TOMASuplVersion iVersion[protected]