gloox
1.0.16
|
#include <jinglesession.h>
Public Member Functions | |
Jingle (const Tag *tag=0) | |
virtual | ~Jingle () |
const std::string & | sid () const |
const JID & | initiator () const |
const JID & | responder () const |
Action | action () const |
void | addPlugin (const Plugin *plugin) |
const PluginList & | plugins () const |
Tag * | embeddedTag () const |
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 |
int | extensionType () const |
This is an abstraction of Jingle's (XEP-0166) <jingle> element as a StanzaExtension.
XEP Version: 1.1
Definition at line 198 of file jinglesession.h.
Constructs a new object from the given Tag.
tag | The Tag to parse. |
Definition at line 153 of file jinglesession.cpp.
|
virtual |
Virtual Destructor.
Definition at line 177 of file jinglesession.cpp.
|
inline |
|
inline |
Adds a Plugin as child.
plugin | A plugin to be embedded. Will be owned by this instance and deleted in the destructor. |
Definition at line 243 of file jinglesession.h.
|
virtual |
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension.
Definition at line 212 of file jinglesession.cpp.
|
inlinevirtual |
Returns the tag to build plugins from.
Reimplemented from StanzaExtension.
Definition at line 255 of file jinglesession.h.
|
virtual |
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
Implements StanzaExtension.
Definition at line 182 of file jinglesession.cpp.
|
inline |
Returns the 'session initiator'. This will usually be empty for any action other than 'session-initiate'.
Definition at line 225 of file jinglesession.h.
|
inlinevirtual |
Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like:
Implements StanzaExtension.
Definition at line 261 of file jinglesession.h.
|
inline |
Returns a reference to a list of embedded plugins.
Definition at line 249 of file jinglesession.h.
|
inline |
Returns the 'session responder'. This will usually be empty for any action other than 'session-accept'.
Definition at line 231 of file jinglesession.h.
|
inline |
|
virtual |
Returns a Tag representation of the extension.
Implements StanzaExtension.
Definition at line 188 of file jinglesession.cpp.