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

#include <discomanager.h>

Inheritance diagram for DiscoManager:
Inheritance graph
[legend]

Public Member Functions

 DiscoManager (SM &sm, TagHandler &router)
virtual ~DiscoManager ()
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 disco management.

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

Definition at line 35 of file discomanager.h.

Constructor & Destructor Documentation

DiscoManager ( SM sm,
TagHandler router 
)

Constructor.

Parameters
smThe SM to use.
routerThe Router to use.

Definition at line 28 of file discomanager.cpp.

~DiscoManager ( )
virtual

Virtual destructor.

Definition at line 33 of file discomanager.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 37 of file discomanager.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 44 of file discomanager.cpp.


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