Public Member Functions | List of all members
SubscriptionHandler Class Reference

#include <subscriptionhandler.h>

Inheritance diagram for SubscriptionHandler:
Inheritance graph

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.

Jakob Schroeter

Definition at line 29 of file subscriptionhandler.h.

Constructor & Destructor Documentation

virtual ~SubscriptionHandler ( )

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.

stanzaThe complete Stanza.

Implemented in RosterManager.

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