|
gloox
1.0.16
|
#include <amp.h>

Classes | |
| class | Rule |
Public Types | |
| enum | ConditionType { ConditionDeliver, ConditionExpireAt, ConditionMatchResource, ConditionInvalid } |
| enum | ActionType { ActionAlert, ActionError, ActionDrop, ActionNotify, ActionInvalid } |
| enum | DeliverType { DeliverDirect, DeliverForward, DeliverGateway, DeliverNone, DeliverStored, DeliverInvalid } |
| enum | MatchResourceType { MatchResourceAny, MatchResourceExact, MatchResourceOther, MatchResourceInvalid } |
| enum | Status { StatusAlert, StatusNotify, StatusInvalid } |
| typedef std::list< const Rule * > | RuleList |
Public Member Functions | |
| AMP (bool perhop=false) | |
| AMP (const Tag *tag) | |
| void | addRule (const Rule *rule) |
| const RuleList & | rules () const |
| virtual | ~AMP () |
| virtual const std::string & | filterString () const |
| virtual StanzaExtension * | newInstance (const Tag *tag) const |
| virtual Tag * | tag () const |
| virtual StanzaExtension * | clone () const |
Public Member Functions inherited from StanzaExtension | |
| StanzaExtension (int type) | |
| virtual | ~StanzaExtension () |
| virtual Stanza * | embeddedStanza () const |
| virtual Tag * | embeddedTag () const |
| int | extensionType () const |
This is an implementation of XEP-0079 (Advanced Message Processing) as a StanzaExtension.
XEP Version: 1.2
| enum ActionType |
Possible actions to take when the corresponding condition is met.
| enum ConditionType |
| enum DeliverType |
Possible delivery rules.
| enum MatchResourceType |
Possible resource matching rules.
| enum Status |
| AMP | ( | bool | perhop = false | ) |
| void addRule | ( | const Rule * | rule | ) |
|
inlinevirtual |
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension.
|
virtual |
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
Implements StanzaExtension.
|
inlinevirtual |
Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like:
Implements StanzaExtension.
|
inline |
|
virtual |
Returns a Tag representation of the extension.
Implements StanzaExtension.
1.8.8