#include <messageeventfilter.h>
Inherits MessageFilter.
Inheritance diagram for MessageEventFilter:


Public Member Functions | |
| MessageEventFilter (MessageSession *parent, int defaultEvents=MessageEventOffline|MessageEventDelivered|MessageEventDisplayed|MessageEventComposing) | |
| virtual | ~MessageEventFilter () |
| void | raiseMessageEvent (MessageEventType event) |
| void | registerMessageEventHandler (MessageEventHandler *meh) |
| void | removeMessageEventHandler () |
| virtual void | decorate (Tag *tag) |
| virtual void | filter (Stanza *stanza) |
This implementation of Message Events is fully transparent to the user of the class. If the remote entity does not request message events, MessageEventFilter will not send any, even if the user requests it. (This is required by the protocol specification.)
Definition at line 38 of file messageeventfilter.h.
|
||||||||||||
|
Contstructs a new Message Event filter for a MessageSession.
Definition at line 22 of file messageeventfilter.cpp. |
|
|
Virtual destructor. Definition at line 29 of file messageeventfilter.cpp. |
|
|
This function receives a message right before it is sent out (there may be other filters which get to see the message after this filter, though).
Implements MessageFilter. Definition at line 128 of file messageeventfilter.cpp. |
|
|
This function receives a message stanza right after it was received (there may be other filters which got to see the stanza before this filter, though).
Implements MessageFilter. Definition at line 33 of file messageeventfilter.cpp. |
|
|
Use this function to raise an event as defined in XEP-0022.
Definition at line 84 of file messageeventfilter.cpp. |
|
|
The MessageEventHandler registered here will receive Message Events according to XEP-0022.
Definition at line 150 of file messageeventfilter.cpp. |
|
|
This function clears the internal pointer to the MessageEventHandler. Message Events will not be delivered anymore after calling this function until another MessageEventHandler is registered. Definition at line 155 of file messageeventfilter.cpp. |
1.4.1