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

Constructor & Destructor Documentation

~COMASuplAsnMessageBase()

IMPORT_C ~COMASuplAsnMessageBase ( ) [virtual]

Member Functions Documentation

Clone(const COMASuplAsnMessageBase *, TInt &)

IMPORT_C void Clone ( 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 void CloneBaseL ( const COMASuplAsnMessageBase * aBase,
TInt & aErrorCode
)
Method to clone base objects
Since
Series 60 3.1U

Parameters

const COMASuplAsnMessageBase * aBase base pointer
TInt & aErrorCode

EncodeL(TInt &)

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

Parameters

TInt & aErrorCode error during encoding

MessageBase(TOMASuplVersion &, COMASuplSessionID *&)

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

Parameters

TOMASuplVersion & aVersion Version of message
COMASuplSessionID *& aSessionID SessionId of message

MessageLength()

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

MessageType()

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

SessionId(COMASuplSessionID *&)

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

Parameters

COMASuplSessionID *& aSessionId Session Id

SetMessageBase(const TOMASuplVersion &, COMASuplSessionID *)

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

Parameters

const TOMASuplVersion & aVersion version of message
COMASuplSessionID * aSessionID session id of session

SetMessageLength(TInt)

IMPORT_C void SetMessageLength ( TInt aMessageLength )

Parameters

TInt aMessageLength

SetMessageType(TSuplMessageType)

IMPORT_C void SetMessageType ( TSuplMessageType aMessageType ) [protected]
Setter method for MessageType
Since
Series 60 3.1U

Parameters

TSuplMessageType aMessageType type 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]