gloox  0.9.9.12
Public Member Functions | List of all members
SubscriptionHandler Class Reference

#include <subscriptionhandler.h>

Inheritance diagram for SubscriptionHandler:
Inheritance graph
[legend]

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@ca.nosp@m.maya.nosp@m..net

Definition at line 29 of file subscriptionhandler.h.

Constructor & Destructor Documentation

virtual ~SubscriptionHandler ( )
inlinevirtual

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
stanzaThe complete Stanza.

Implemented in RosterManager.


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