gloox
1.0
|
#include <oob.h>
Public Member Functions | |
OOB (const std::string &url, const std::string &description, bool iqext) | |
OOB (const Tag *tag) | |
virtual | ~OOB () |
const std::string & | url () const |
const std::string & | desc () const |
virtual const std::string & | filterString () const |
virtual StanzaExtension * | newInstance (const Tag *tag) const |
Tag * | tag () const |
virtual StanzaExtension * | clone () const |
Public Member Functions inherited from StanzaExtension | |
StanzaExtension (int type) | |
virtual | ~StanzaExtension () |
int | extensionType () const |
This is an abstraction of a jabber:x:oob namespace element or a jabber:iq:oob namespace element as specified in XEP-0066.
XEP version: 1.5
OOB | ( | const std::string & | url, |
const std::string & | description, | ||
bool | iqext | ||
) |
Constructs an OOB StanzaExtension from teh given URL and description.
url | The out-of-band URL. |
description | The URL's optional description. |
iqext | Whether this object extends an IQ or a Presence/Message stanza (results in either jabber:iq:oob or jabber:x:oob namespaced element). |
|
inlinevirtual |
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension.
|
inline |
|
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.
|
virtual |
Returns a Tag representation of the extension.
Implements StanzaExtension.
|
inline |