An abstract class for messages which have come from the store. More...
#include <gstoredmessage.h>
Public Member Functions | |
virtual std::string | name () const =0 |
Returns some sort of unique identifier for the message. More... | |
virtual std::string | location () const =0 |
Returns another sort of unique identifier for the message. More... | |
virtual const std::string & | from () const =0 |
Returns the envelope 'from' field. More... | |
virtual const G::Strings & | to () const =0 |
Returns the envelope 'to' fields. More... | |
virtual std::auto_ptr< std::istream > | extractContentStream ()=0 |
Extracts the content stream. More... | |
virtual void | destroy ()=0 |
Deletes the message within the store. More... | |
virtual void | fail (const std::string &reason, int reason_code)=0 |
Marks the message as failed within the store. More... | |
virtual void | unfail ()=0 |
Marks the message as unfailed within the store. More... | |
virtual bool | eightBit () const =0 |
Returns true if the message content (header+body) contains a character with the most significant bit set. More... | |
virtual std::string | authentication () const =0 |
Returns the message authentication string. More... | |
virtual size_t | remoteRecipientCount () const =0 |
Returns the number of non-local recipients. More... | |
virtual size_t | errorCount () const =0 |
Returns the number of accumulated submission errors. More... | |
virtual void | sync ()=0 |
Synchronises the message object with the underlying storage. More... | |
virtual | ~StoredMessage () |
Destructor. More... | |
An abstract class for messages which have come from the store.
Definition at line 40 of file gstoredmessage.h.
|
virtual |
Destructor.
Definition at line 25 of file gstoredmessage.cpp.
|
pure virtual |
Returns the message authentication string.
Implemented in GSmtp::StoredFile.
|
pure virtual |
Deletes the message within the store.
Implemented in GSmtp::StoredFile.
|
pure virtual |
Returns true if the message content (header+body) contains a character with the most significant bit set.
Implemented in GSmtp::StoredFile.
|
pure virtual |
Returns the number of accumulated submission errors.
Implemented in GSmtp::StoredFile.
|
pure virtual |
|
pure virtual |
Marks the message as failed within the store.
Implemented in GSmtp::StoredFile.
|
pure virtual |
Returns the envelope 'from' field.
Implemented in GSmtp::StoredFile.
|
pure virtual |
Returns another sort of unique identifier for the message.
Implemented in GSmtp::StoredFile.
|
pure virtual |
Returns some sort of unique identifier for the message.
Implemented in GSmtp::StoredFile.
|
pure virtual |
Returns the number of non-local recipients.
Implemented in GSmtp::StoredFile.
|
pure virtual |
Synchronises the message object with the underlying storage.
Implemented in GSmtp::StoredFile.
|
pure virtual |
Returns the envelope 'to' fields.
Implemented in GSmtp::StoredFile.
|
pure virtual |
Marks the message as unfailed within the store.
Implemented in GSmtp::StoredFile.