Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

PresenceHandler Class Reference

A virtual interface which can be reimplemented to receive presence stanzas. More...

#include <presencehandler.h>

Inherited by MUCRoom [private], and RosterManager.

Inheritance diagram for PresenceHandler:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~PresenceHandler ()
virtual void handlePresence (Stanza *stanza)=0

Detailed Description

A virtual interface which can be reimplemented to receive presence stanzas.

Derived classes can be registered as PresenceHandlers with the Client. Upon an incoming Presence packet handlePresence() will be called.

Author:
Jakob Schroeter <js@camaya.net>

Definition at line 30 of file presencehandler.h.


Constructor & Destructor Documentation

virtual ~PresenceHandler  )  [inline, virtual]
 

Virtual Destructor.

Definition at line 36 of file presencehandler.h.


Member Function Documentation

virtual void handlePresence Stanza stanza  )  [pure virtual]
 

Reimplement this function if you want to be updated on incoming presence notifications.

Parameters:
stanza The complete stanza.

Implemented in MUCRoom, and RosterManager.


The documentation for this class was generated from the following file:
Generated on Sat Mar 22 09:32:30 2008 for gloox by  doxygen 1.4.1