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

#include <presencemanager.h>

Inheritance diagram for PresenceManager:
Inheritance graph
[legend]

Public Member Functions

 PresenceManager (SM &sm, TagHandler &router, RosterProvider *rp)
virtual ~PresenceManager ()
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 presence management.

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

Definition at line 39 of file presencemanager.h.

Constructor & Destructor Documentation

PresenceManager ( 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 presencemanager.cpp.

~PresenceManager ( )
virtual

Virtual destructor.

Definition at line 32 of file presencemanager.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 presencemanager.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 presencemanager.cpp.


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