glooxd  0.3-svn
Public Member Functions | List of all members
MessageManager Class Reference

#include <messagemanager.h>

Inheritance diagram for MessageManager:
Inheritance graph
[legend]

Public Member Functions

 MessageManager (SM &sm, TagHandler &router, RosterProvider *rp)
virtual ~MessageManager ()
virtual bool handleTag (const gloox::Tag *tag)
virtual const std::string & filterString () const
- Public Member Functions inherited from Plugin
 Plugin (SM &sm, TagHandler &router)
virtual ~Plugin ()

Detailed Description

An implementation of the server-side message management.

Author
Jakob Schroeter js@ca.nosp@m.maya.nosp@m..net
Since
0.2

Definition at line 39 of file messagemanager.h.

Constructor & Destructor Documentation

MessageManager ( SM sm,
TagHandler router,
RosterProvider rp 
)

Constructor.

Parameters
smThe SM to use.
routerThe Router to use.
rpThe roster source.

Definition at line 26 of file messagemanager.cpp.

~MessageManager ( )
virtual

Virtual destructor.

Definition at line 32 of file messagemanager.cpp.

Member Function Documentation

const std::string & filterString ( ) const
virtual

Returns an XPath expression that matches the Plugin's supported stanzas.

Returns
An XPath expression.

Implements Plugin.

Definition at line 36 of file messagemanager.cpp.

bool handleTag ( const gloox::Tag *  tag)
virtual

Reimplement this function to handle incoming tags matched by the XPath expression returned by filterString().

Parameters
tagA Tag to handle.
Returns
True if the Tag has been handled, false if it is to be passed on to the next Plugin in the chain.

Implements Plugin.

Definition at line 67 of file messagemanager.cpp.


The documentation for this class was generated from the following files: