gloox
1.1-svn
|
#include <jinglecontent.h>
Public Types | |
enum | Creator { CInitiator, CResponder, InvalidCreator } |
enum | Senders { SInitiator, SResponder, SBoth, InvalidSender } |
Public Member Functions | |
Content (Description *desc, Transport *trans, const std::string &name, Creator creator=CInitiator, Senders senders=SBoth, const std::string &disposition=EmptyString) | |
virtual | ~Content () |
virtual const std::string & | filterString () const |
virtual Tag * | tag () const |
virtual Plugin * | clone () const |
Public Member Functions inherited from Plugin | |
virtual | ~Plugin () |
An abstraction of a Jingle Content Type.
You should not need to use this class directly. See Jingle::Session for more info on Jingle.
Definition at line 41 of file jinglecontent.h.
enum Creator |
The original creator of the content type.
CInitiator |
The creator is the initiator of the session. |
CResponder |
The creator is the responder. |
InvalidCreator |
Invalid value. |
Definition at line 47 of file jinglecontent.h.
enum Senders |
The parties in the session that will be generating content.
SInitiator |
The initiator sends content. |
SResponder |
The responder sends content. |
SBoth |
Both parties send content( default). |
InvalidSender |
Invalid value. |
Definition at line 57 of file jinglecontent.h.
Content | ( | Description * | desc, |
Transport * | trans, | ||
const std::string & | name, | ||
Creator | creator = CInitiator , |
||
Senders | senders = SBoth , |
||
const std::string & | disposition = EmptyString |
||
) |
Creates a new Content wrapper.
Definition at line 46 of file jinglecontent.cpp.
|
virtual |
Virtual destructor.
Definition at line 59 of file jinglecontent.cpp.
|
virtual |
Creates an identical deep copy of the current instance.
Implements Plugin.
Definition at line 88 of file jinglecontent.cpp.
|
virtual |
Returns an XPath expression that describes a path to child elements of a jingle element that a plugin handles.
Implements Plugin.
Definition at line 63 of file jinglecontent.cpp.
|
virtual |
Returns a Tag representation of the plugin.
Implements Plugin.
Definition at line 69 of file jinglecontent.cpp.