class CMsvRecipient : public CBase |
Base class for information relating to a message recipient.
Public Member Functions | |
---|---|
TInt | Error() |
IMPORT_C void | ExternalizeL(RWriteStream &) |
void | IncreaseRetries() |
IMPORT_C void | InternalizeL(RReadStream &) |
void | ResetRetries() |
TInt | Retries() |
void | SetError(TInt) |
void | SetStatus(TRecipientStatus) |
TRecipientStatus | Status() |
const TTime & | Time() |
TTime & | Time() |
Protected Member Functions | |
---|---|
CMsvRecipient() |
Public Member Enumerations | |
---|---|
enum | TRecipientStatus { ENotYetSent = 0, ESentSuccessfully = 1, EFailedToSend = 2 } |
Private Attributes | |
---|---|
TInt | iError |
TInt | iRetries |
TRecipientStatus | iStatus |
TTime | iTime |
TInt | Error | ( | ) | const [inline] |
Gets any error code for message sending to the recipient.
System wide error code
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
RWriteStream & aStream |
void | IncreaseRetries | ( | ) | [inline] |
Increments the number of retries for message sending to the recipient.
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) | [virtual] |
RReadStream & aStream |
void | ResetRetries | ( | ) | [inline] |
Resets the number of retries for message sending to the recipient to zero.
TInt | Retries | ( | ) | const [inline] |
Gets the number of retries for message sending to the recipient.
Number of retries
void | SetError | ( | TInt | aError | ) | [inline] |
Sets any error code for message sending to the recipient.
TInt aError | System wide error code |
void | SetStatus | ( | TRecipientStatus | aStatus | ) | [inline] |
Sets the message sending status for the recipient.
TRecipientStatus aStatus | Message sending status for the recipient |
TRecipientStatus | Status | ( | ) | const [inline] |
Gets the message sending status for the recipient.
Message sending status for the recipient
const TTime & | Time | ( | ) | const [inline] |
Gets the (const) time for message sending to the recipient.
Time for message sending to the recipient
TTime & | Time | ( | ) | [inline] |
Gets the (writable) time for message sending to the recipient.
Time for message sending to the recipient
Message sending status for a recipient.
ENotYetSent = 0 |
Message is not sent. |
ESentSuccessfully = 1 |
Message has been sent. |
EFailedToSend = 2 |
Message sending failed. |