gloox  1.0.1
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 (const Subscription &subscription)=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 ( const Subscription subscription)
pure virtual

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

subscriptionThe complete Subscription stanza.

Implemented in RosterManager.

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