CMsvScheduledEntry Class Reference
#include
<mw/msvscheduledentry.h>
Link against: schsend.lib
class CMsvScheduledEntry : public CBase |
Detailed Description
Abstract base class which stores the schedule data and recipients of a message.
CMsvScheduledEntry does not force the Server MTM to store the message recipients in a certain way. However, it is recommended that the Server MTM derive its recipients class from CMsvRecipient, because the class already has support for the number of retries to send a message to a recipient.
CMsvScheduledEntry stores the TMsvEntry to which it relates to provide quick access to the scheduling-related index data without needing calls to CMsvServerEntry::SetEntry(). However, CMsvScheduledEntry does not provide access to all the members of the TMsvEntry. This is to stop the user of the CMsvScheduledEntry from accessing the descriptor members of the TMsvEntry while the server entry is not set to the TMsvEntry.
Member Attribute Documentation
Constructor & Destructor Documentation
CMsvScheduledEntry ( const TMsvEntry & )
IMPORT_C | CMsvScheduledEntry | ( | const TMsvEntry & | aEntry | ) | [protected] |
Parameter | Description | aEntry | Scheduled message. |
Member Function Documentation
CanSendToAnyRecipients ( const CMsvSendErrorActions &, TMsvSendErrorAction & )
Tests if any of the recipients of this message can still be sent to.
Parameter | Description | aErrorActions | Error-actions |
aAction | Default error-action |
Returns: True if at least one of the recipients has not been sent the message.
CanSendToAnyRecipients ( const TMsvSendErrorAction & )
Tests if any of the recipients of this message can still be sent to.
Parameter | Description | aAction | Default error-action |
Returns: True if at least one of the recipients has not been sent the message.
Entry ( TMsvEntry & )
Parameter | Description | aEntry | On return, the message entry. |
Error ( )
const TInt | Error | ( | ) | const [inline] |
Gets the entry's iError data member.
Returns: The entry's iError data member.
Failed ( )
const TBool | Failed | ( | ) | const [inline] |
Returns: The entry's Failed() flag.
Id ( )
const TMsvId | Id | ( | ) | const [inline] |
Mtm ( )
const TUid | Mtm | ( | ) | const [inline] |
Gets the entry's iMtm data member.
Returns: The entry's iMtm data member.
OffPeak ( )
const TBool | OffPeak | ( | ) | const [inline] |
Returns: The entry's OffPeak() flag.
PendingConditions ( )
IMPORT_C TBool | PendingConditions | ( | ) | const |
Gets the entry's pending conditions flag.
Returns: The entry's pending conditions flag.
RecipientsAllSent ( )
TBool
| RecipientsAllSent | ( | ) | const [pure virtual] |
Tests if all recipients of the message have been sent successfully.
Returns: True if all recipients have been sent successfully.
RecipientsIncreaseRetries ( )
void | RecipientsIncreaseRetries | ( | ) | [pure virtual] |
Increases all the recipients' retries by one.
RecipientsResetRetries ( )
void | RecipientsResetRetries | ( | ) | [pure virtual] |
Sets all the recipients' retries to zero.
RecipientsRestoreL ( CMsvStore & )
void | RecipientsRestoreL | ( | CMsvStore & | aStore | ) | [pure virtual] |
Parameter | Description | aStore | Store to read from. |
RecipientsSetFailed ( )
void | RecipientsSetFailed | ( | ) | [pure virtual] |
Sets all the recipients' flags to sending failed.
RecipientsStoreL ( CMsvStore & )
void | RecipientsStoreL | ( | CMsvStore & | aStore | ) | const [pure virtual] |
Parameter | Description | aStore | Store to write to. |
RestoreL ( CMsvStore & )
IMPORT_C void | RestoreL | ( | CMsvStore & | aStore | ) | [virtual] |
Parameter | Description | aStore | Store to read from. |
ScheduleDate ( )
const TTime & | ScheduleDate | ( | ) | const [inline] |
Gets the entry's iDate member.
Returns: Entry's iDate member.
Scheduled ( )
const TBool | Scheduled | ( | ) | const [inline] |
Returns: The entry's Scheduled() flag.
SendingState ( )
const TInt | SendingState | ( | ) | const [inline] |
Returns: The entry's SendingState() flag.
SetFailed ( const TBool )
void | SetFailed | ( | const TBool | aFail | ) | [inline] |
Parameter | Description | aFail | The entry's Failed() flag. |
SetPendingConditions ( TBool )
IMPORT_C void | SetPendingConditions | ( | TBool | aPendingConditions | ) | |
sets the entry's pending conditions flag.
SetScheduleDate ( const TTime & )
void | SetScheduleDate | ( | const TTime & | aDate | ) | [inline] |
Sets the entry's iDate member.
Parameter | Description | aDate | Entry's iDate member. |
SetScheduled ( const TBool )
void | SetScheduled | ( | const TBool | aScheduled | ) | [inline] |
Parameter | Description | aScheduled | The entry's Scheduled() flag. |
SetSendingState ( TInt )
void | SetSendingState | ( | TInt | aState | ) | [inline] |
Parameter | Description | aState | The entry's SendingState() flag. |
StoreL ( CMsvStore & )
IMPORT_C void | StoreL | ( | CMsvStore & | aStore | ) | const [virtual] |
Parameter | Description | aStore | Store to write to. |