TMsvSchedulePackage Class Reference

class TMsvSchedulePackage

Packaged message scheduling information.

Constructor & Destructor Documentation

TMsvSchedulePackage()

IMPORT_C TMsvSchedulePackage ( )

Default constructor.

Member Functions Documentation

Convert(const TDesC8 &)

TPtrC Convert ( const TDesC8 & aDes ) const [private]

Parameters

const TDesC8 & aDes

Convert(const TDesC16 &)

TPtrC8 Convert ( const TDesC16 & aDes ) const [private]

Parameters

const TDesC16 & aDes

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & ) const [private]

Parameters

RWriteStream &

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & ) [private]

Parameters

RReadStream &

PackLC(TTaskInfo &, HBufC *&)

IMPORT_C void PackLC ( TTaskInfo & aTask,
HBufC *& aDes
) const

Packs the object into a 16-bit descriptor.

The function then attempts to copy the descriptor into aTask.iName, if aTask.iName is large enough; otherwise, it copies it into aDes (a new HBufC).

aDes is placed on the cleanup stack.

Parameters

TTaskInfo & aTask Task information for this message.
HBufC *& aDes On return, a new descriptor, possibly packaging the object. aDes.Length() == 0 if the object was successfully packed in aTask.iName instead.

PackLC()

HBufC * PackLC ( ) const [private]

UnpackL(const TTaskInfo &, const TDesC &)

IMPORT_C void UnpackL ( const TTaskInfo & aTask,
const TDesC & aDes
)

Restores this object from a 16-bit descriptor that was packed using PackLC() .

Parameters

const TTaskInfo & aTask The object is restored from aTask.iName if aTask.iName.Length() doesn't equal zero.
const TDesC & aDes The object is restored from this descriptor if aTask.iName.Length() equals zero.

UnpackL(const TDesC &)

void UnpackL ( const TDesC & aDes ) [private]

Parameters

const TDesC & aDes

Member Data Documentation

TInt iCommandId

TInt iCommandId

Command ID to be passed to CMsvSession::TransferCommandL() when it is time to send the messages.

TMsvId iId

TMsvId iId

Message ID.

TBuf8< KMaxParameterLength > iParameter

TBuf8 < KMaxParameterLength > iParameter

Server MTM specific binary data to be passed to CMsvSession::TransferCommandL() when it is time to send the messages.

TTimeIntervalMicroSeconds32 iPollProgress

TTimeIntervalMicroSeconds32 iPollProgress

Intervals at which the scheduler should check the sending operation's progress.