gloox
1.0.9
|
#include <jinglesession.h>
Public Member Functions | |
Jingle (const Tag *tag=0) | |
virtual | ~Jingle () |
const std::string & | sid () const |
void | setInitiator (const JID &jid) |
const JID & | initiator () const |
void | setResponder (const JID &jid) |
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 146 of file jinglesession.cpp.
|
virtual |
Virtual Destructor.
Definition at line 179 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 249 of file jinglesession.h.
|
virtual |
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension.
Definition at line 214 of file jinglesession.cpp.
|
inlinevirtual |
Returns the tag to build plugins from.
Reimplemented from StanzaExtension.
Definition at line 261 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 184 of file jinglesession.cpp.
|
inline |
|
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 267 of file jinglesession.h.
|
inline |
Returns a reference to a list of embedded plugins.
Definition at line 255 of file jinglesession.h.
|
inline |
Set's the session's initiator.
jid | The session initiator's JID. |
Definition at line 225 of file jinglesession.h.
|
inline |
Set's the session's responder.
jid | The session responder's JID. |
Definition at line 237 of file jinglesession.h.
|
inline |
|
virtual |
Returns a Tag representation of the extension.
Implements StanzaExtension.
Definition at line 190 of file jinglesession.cpp.