Delegate invoked when the parser raise an event. More...
#include <SimpleMessageParser.h>
Public Member Functions | |
virtual void | on_parsing_error (MessageParser::error_t error) |
Invoked when an error is present in the message. More... | |
virtual void | on_parsing_started () |
Invoked when parsing as started. More... | |
virtual void | on_text_parsed (const Text &text, const RecordID &id) |
Invoked when a text element has been parsed. More... | |
virtual void | on_uri_parsed (const URI &uri, const RecordID &id) |
Invoked when a text element has been parsed. More... | |
virtual void | on_mime_parsed (const Mime &mime, const RecordID &id) |
Invoked when a mime element has been parsed. More... | |
virtual void | on_unknown_record_parsed (const Record &record) |
Invoked when an unknown record has been parsed. More... | |
virtual void | on_parsing_terminated () |
Invoked when parsing is over. More... | |
Delegate invoked when the parser raise an event.
Definition at line 52 of file SimpleMessageParser.h.
Invoked when a mime element has been parsed.
mime | The mime object parsed. |
id | The RecordId of the mime object. |
Definition at line 86 of file SimpleMessageParser.h.
|
virtual |
Invoked when an error is present in the message.
error | The error present in the message. |
Definition at line 57 of file SimpleMessageParser.h.
|
virtual |
Invoked when parsing as started.
Definition at line 62 of file SimpleMessageParser.h.
|
virtual |
Invoked when parsing is over.
Definition at line 97 of file SimpleMessageParser.h.
Invoked when a text element has been parsed.
text | The text parsed. |
id | The RecordId of the text object. |
Definition at line 70 of file SimpleMessageParser.h.
|
virtual |
Invoked when an unknown record has been parsed.
record | The record freshly parsed. |
Definition at line 92 of file SimpleMessageParser.h.
Invoked when a text element has been parsed.
uri | The uri parsed. |
id | The RecordId of the uri object. |
Definition at line 78 of file SimpleMessageParser.h.