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

#include <rostermanager.h>

Inheritance diagram for RosterManager:
Inheritance graph
[legend]

Public Member Functions

 RosterManager (SM &sm, TagHandler &router, RosterProvider *rp)
virtual ~RosterManager ()
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 roster management protocol from RFC3921.

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

Definition at line 40 of file rostermanager.h.

Constructor & Destructor Documentation

RosterManager ( SM sm,
TagHandler router,
RosterProvider rp 
)

Constructor.

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

Definition at line 25 of file rostermanager.cpp.

~RosterManager ( )
virtual

Virtual destructor.

Definition at line 31 of file rostermanager.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 35 of file rostermanager.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 79 of file rostermanager.cpp.


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