SubscriptionHandler Class Reference

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

#include <subscriptionhandler.h>

Inherited by RosterManager [private].

Inheritance diagram for SubscriptionHandler:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~SubscriptionHandler ()
virtual void handleSubscription (Stanza *stanza)=0

Detailed Description

A virtual interface which can be reimplemented to receive incoming subscription stanzas.

Derived classes can be registered as SubscriptionHandlers with the Client. Upon an incoming Subscription packet handleSubscription() will be called.

Author:
Jakob Schroeter <js@camaya.net>

Definition at line 29 of file subscriptionhandler.h.


Constructor & Destructor Documentation

virtual ~SubscriptionHandler (  )  [inline, virtual]

Virtual destructor.

Definition at line 35 of file subscriptionhandler.h.


Member Function Documentation

virtual void handleSubscription ( Stanza stanza  )  [pure virtual]

Reimplement this function if you want to be notified about incoming subscriptions/subscription requests.

Parameters:
stanza The complete Stanza.

Implemented in RosterManager.


The documentation for this class was generated from the following file:
Generated on Tue May 1 14:20:27 2007 for gloox by  doxygen 1.5.1