kopete/libkopete
Kopete::MessageHandlerChain Class Reference
#include <kopetemessagehandlerchain.h>
Inheritance diagram for Kopete::MessageHandlerChain:

Detailed Description
A chain of message handlers; the processing layer between protocol and chat view.This class represents a chain of connected message handlers.
This class is the client of the chain of responsibility formed by the MessageHandlers, and acts as a facade for that chain, presenting a more convenient interface.
Definition at line 45 of file kopetemessagehandlerchain.h.
Public Types | |
| typedef KSharedPtr < MessageHandlerChain > | Ptr |
Public Member Functions | |
| int | capabilities () |
| ProcessMessageTask * | processMessage (const Message &message) |
Static Public Member Functions | |
| static Ptr | create (ChatSession *manager, Message::MessageDirection direction) |
Member Typedef Documentation
| typedef KSharedPtr<MessageHandlerChain> Kopete::MessageHandlerChain::Ptr |
Definition at line 50 of file kopetemessagehandlerchain.h.
Member Function Documentation
| int Kopete::MessageHandlerChain::capabilities | ( | ) |
Definition at line 134 of file kopetemessagehandlerchain.cpp.
| MessageHandlerChain::Ptr Kopete::MessageHandlerChain::create | ( | ChatSession * | manager, | |
| Message::MessageDirection | direction | |||
| ) | [static] |
Create a new MessageHandlerChain object with the appropriate handlers for processing messages entering manager in direction direction.
Definition at line 55 of file kopetemessagehandlerchain.cpp.
| ProcessMessageTask * Kopete::MessageHandlerChain::processMessage | ( | const Message & | message | ) |
Definition at line 128 of file kopetemessagehandlerchain.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference