#include <pubsubevent.h>
Inherits StanzaExtension.
Inheritance diagram for Event:

Public Types | |
| typedef std::list< ItemOperation * > | ItemOperationList |
Public Member Functions | |
| Event (const Tag *event) | |
| Event (const std::string &node, PubSub::EventType type) | |
| virtual | ~Event () |
| PubSub::EventType | type () const |
| const StringList & | subscriptions () const |
| const ItemOperationList & | items () const |
| void | addItem (ItemOperation *op) |
| const std::string & | node () const |
| const JID & | jid () |
| bool | subscription () |
| const std::string & | filterString () const |
| StanzaExtension * | newInstance (const Tag *tag) const |
| Tag * | tag () const |
| virtual StanzaExtension * | clone () const |
Classes | |
| struct | ItemOperation |
Definition at line 34 of file pubsubevent.h.
|
|
A list of ItemOperations. Definition at line 69 of file pubsubevent.h. |
|
|
PubSub event notification Stanza Extension.
Definition at line 39 of file pubsubevent.cpp. |
|
||||||||||||
|
PubSub event notification Stanza Extension.
Definition at line 141 of file pubsubevent.cpp. |
|
|
Virtual destructor. Definition at line 150 of file pubsubevent.cpp. |
|
|
Add an item to the list of ItemOperations for EventItems(Retract) notification. After calling, the PubSub::Event object owns the ItemOperation and will free it.
Definition at line 166 of file pubsubevent.cpp. |
|
|
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension. Definition at line 257 of file pubsubevent.cpp. |
|
|
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
Implements StanzaExtension. Definition at line 174 of file pubsubevent.cpp. |
|
|
Returns the list of ItemOperations for EventItems(Retract) notification.
Definition at line 107 of file pubsubevent.h. |
|
|
Returns the subscribe/unsubscribed JID. Only set for subscription notifications (type() == EventSubscription).
Definition at line 128 of file pubsubevent.h. |
|
|
Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like: StanzaExtension* FooExtension::newInstance( const Tag* tag ) const { return new FooExtension( tag ); }
Implements StanzaExtension. Definition at line 141 of file pubsubevent.h. |
|
|
Returns the node's ID for which the notification is sent.
Definition at line 121 of file pubsubevent.h. |
|
|
Returns the subscription state. Only set for subscription notifications (type() == EventSubscription).
Definition at line 135 of file pubsubevent.h. |
|
|
Returns the list of subscription IDs for which this notification is valid.
Definition at line 100 of file pubsubevent.h. |
|
|
Returns a Tag representation of the extension.
Implements StanzaExtension. Definition at line 180 of file pubsubevent.cpp. |
|
|
Returns the event's type.
Definition at line 93 of file pubsubevent.h. |
1.4.1