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

#include <vcardmanager.h>

Inheritance diagram for VCardManager:
Inheritance graph
[legend]

Public Member Functions

 VCardManager (SM &sm, TagHandler &router)
virtual ~VCardManager ()
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 35 of file vcardmanager.h.

Constructor & Destructor Documentation

VCardManager ( SM sm,
TagHandler router 
)

Constructor.

Parameters
smThe SM to use.
routerThe Router to use.

Definition at line 28 of file vcardmanager.cpp.

~VCardManager ( )
virtual

Virtual destructor.

Definition at line 33 of file vcardmanager.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 vcardmanager.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 43 of file vcardmanager.cpp.


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