Location:
MsvScheduledEntry.h
Link against: schsend.lib
class CMsvScheduledEntry : public CBase;
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
.
CBase
- Base class for all classes to be instantiated on the heap
CMsvScheduledEntry
- Abstract base class which stores the schedule data and recipients of a message
Defined in CMsvScheduledEntry
:
CMsvScheduledEntry()
, CanSendToAnyRecipients()
, CanSendToAnyRecipients()
, Entry()
, Error()
, Failed()
, Id()
, Mtm()
, OffPeak()
, PendingConditions()
, RecipientsAllSent()
, RecipientsIncreaseRetries()
, RecipientsResetRetries()
, RecipientsRestoreL()
, RecipientsSetFailed()
, RecipientsStoreL()
, RestoreL()
, ScheduleDate()
, Scheduled()
, SendingState()
, SetFailed()
, SetPendingConditions()
, SetScheduleDate()
, SetScheduled()
, SetSendingState()
, StoreL()
, iData
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
protected: IMPORT_C CMsvScheduledEntry(const TMsvEntry &aEntry);
Constructor.
|
virtual TBool CanSendToAnyRecipients(const CMsvSendErrorActions &aErrorActions, TMsvSendErrorAction &aAction)=0;
Tests if any of the recipients of this message can still be sent to.
|
|
virtual TBool CanSendToAnyRecipients(const TMsvSendErrorAction &aAction)=0;
Tests if any of the recipients of this message can still be sent to.
|
|
virtual void RecipientsIncreaseRetries()=0;
Increases all the recipients' retries by one.
virtual TBool RecipientsAllSent() const=0;
Tests if all recipients of the message have been sent successfully.
|
virtual IMPORT_C void StoreL(CMsvStore &aStore) const;
Stores the object.
|
|
virtual IMPORT_C void RestoreL(CMsvStore &aStore);
Restores the object.
|
|
virtual void RecipientsStoreL(CMsvStore &aStore) const=0;
Stores the recipients.
|
virtual void RecipientsRestoreL(CMsvStore &aStore)=0;
Restores the recipients.
|
inline const TTime &ScheduleDate() const;
Gets the entry's iDate member.
|
inline void SetScheduleDate(const TTime &aDate);
Sets the entry's iDate member.
|
inline const TBool Scheduled() const;
Gets the entry's Scheduled()
flag.
|
inline void SetScheduled(const TBool aScheduled);
Sets the entry's Scheduled()
flag.
|
inline const TInt SendingState() const;
Gets the entry's SendingState()
flag.
|
inline void SetSendingState(TInt aState);
Sets the entry's SendingState()
flag.
|
inline const TInt Error() const;
Gets the entry's iError data member.
|
inline const TMsvId Id() const;
Gets the entry's ID.
|
inline const TBool OffPeak() const;
Gets the entry's OffPeak()
flag.
|
inline void SetFailed(const TBool aFail);
Sets the entry's Failed()
flag.
|
inline const TBool Failed() const;
Gets the entry's Failed()
flag.
|
IMPORT_C TBool PendingConditions() const;
Gets the entry's pending conditions flag.
|
IMPORT_C void SetPendingConditions(TBool aPendingConditions);
sets the entry's pending conditions flag.
|
inline const TUid Mtm() const;
Gets the entry's iMtm data member.
|
IMPORT_C void Entry(TMsvEntry &aEntry) const;
Gets the message entry.
|
TMsvEntryScheduleData iData;
Message schedule data.