#include <amp.h>
Inherits StanzaExtension.
Inheritance diagram for AMP:

Public Types | |
| typedef std::list< const Rule * > | RuleList |
| 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 } |
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 |
Classes | |
| class | Rule |
XEP Version: 1.2
Vincent Thomasset
Definition at line 39 of file amp.h.
|
|
A list of AMP rules. |
|
|
Possible actions to take when the corresponding condition is met. |
|
|
Possible types for a rule's condition. |
|
|
|
Possible resource matching rules.
|
|
|
Available Stati. |
|
|
Constructs a new object.
|
|
|
Constructs a new object from the given Tag. |
|
|
Virtual Destructor.
|
|
|
Adds the given rule to the list of rules.
|
|
|
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
Implements StanzaExtension. |
|
|
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. |
|
|
Returns the current list of rules for inspection.
|
|
|
Returns a Tag representation of the extension.
Implements StanzaExtension. |
1.4.1