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 |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
Externalises the object to a write stream.
RWriteStream & aStream | Stream to which the object should be externalised. |
void | IncreaseRetries | ( | ) | [inline] |
Increments the number of retries for message sending to the recipient.
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) | [virtual] |
Internalises the object from a read stream.
RReadStream & aStream | The stream from which the object should be internalised. |
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.
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.
const TTime & | Time | ( | ) | const [inline] |
Gets the (const) 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. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.