#include <messagehandler.h>
Inherited by MUCRoom [private].
Inheritance diagram for MessageHandler:

Public Member Functions | |
| virtual | ~MessageHandler () |
| virtual void | handleMessage (Stanza *stanza, MessageSession *session=0)=0 |
Derived classes can be registered as MessageHandlers with a ClientBase or MessageSession instance. Upon an incoming Message packet handleMessage() will be called. If registered with a ClientBase this happens for every incoming message, regardless of the sender. With a MessageSession the registered handler will receive all messages originating from the Session's contact. See MessageSession for more details.
Definition at line 36 of file messagehandler.h.
|
|
Virtual Destructor. Definition at line 42 of file messagehandler.h. |
|
||||||||||||
|
Reimplement this function if you want to be notified about incoming messages.
Implemented in MUCRoom. |
1.4.1