• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/libkopete

Kopete::MessageHandlerChain

Kopete::MessageHandlerChain Class Reference

#include <kopetemessagehandlerchain.h>

Inheritance diagram for Kopete::MessageHandlerChain:

Inheritance graph
[legend]

List of all members.


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.

Author:
Richard Smith <kde@metafoo.co.uk>

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:
  • kopetemessagehandlerchain.h
  • kopetemessagehandlerchain.cpp

kopete/libkopete

Skip menu "kopete/libkopete"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal