Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: MsvSchedulePackage.h
Link against: schsend.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class TMsvSchedulePackage

class TMsvSchedulePackage;

Description

Packaged message scheduling information.

Members

Defined in TMsvSchedulePackage:
PackLC(), TMsvSchedulePackage(), UnpackL(), iCommandId, iId, iParameter, iPollProgress


Construction and destruction


TMsvSchedulePackage()

IMPORT_C TMsvSchedulePackage();

Description

Default constructor.

[Top]


Member functions


PackLC()

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

Description

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.


UnpackL()

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

Description

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.

[Top]


Member data


iId

TMsvId iId;

Description

Message ID.


iCommandId

TInt iCommandId;

Description

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


iPollProgress

TTimeIntervalMicroSeconds32 iPollProgress;

Description

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


iParameter

TBuf8< KMaxParameterLength > iParameter;

Description

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