gloox
1.0.16
|
#include <jingleiceudp.h>
Classes | |
struct | Candidate |
Public Types | |
enum | Type { Host, PeerReflexive, Relayed, ServerReflexive } |
typedef std::list< Candidate > | CandidateList |
Public Member Functions | |
ICEUDP (const std::string &pwd, const std::string &ufrag, CandidateList &candidates) | |
ICEUDP (const Tag *tag=0) | |
virtual | ~ICEUDP () |
const std::string & | pwd () const |
const std::string & | ufrag () const |
const CandidateList & | candidates () const |
virtual const StringList | features () const |
virtual const std::string & | filterString () const |
virtual Tag * | tag () const |
virtual Plugin * | newInstance (const Tag *tag) const |
virtual Plugin * | clone () const |
Public Member Functions inherited from Plugin | |
Plugin (JinglePluginType type) | |
virtual | ~Plugin () |
void | addPlugin (const Plugin *plugin) |
const Plugin * | findPlugin (int type) const |
template<class T > | |
const T * | findPlugin (int type) const |
const PluginList & | plugins () const |
JinglePluginType | pluginType () const |
An abstraction of the signaling part of Jingle ICE-UDP Transport Method (XEP-0176).
XEP Version: 1.0
Definition at line 38 of file jingleiceudp.h.
typedef std::list<Candidate> CandidateList |
A list of transport candidates.
Definition at line 73 of file jingleiceudp.h.
enum Type |
Describes the candidate type.
Enumerator | |
---|---|
Host |
A host candidate. |
PeerReflexive |
A peer reflexive candidate. |
Relayed |
A relayed candidate. |
ServerReflexive |
A server reflexive candidate. |
Definition at line 44 of file jingleiceudp.h.
ICEUDP | ( | const std::string & | pwd, |
const std::string & | ufrag, | ||
CandidateList & | candidates | ||
) |
Constructs a new instance.
pwd | The pwd value. |
ufrag | The ufrag value. |
candidates | A list of connection candidates. |
Definition at line 32 of file jingleiceudp.cpp.
Constructs a new instance from the given tag.
tag | The Tag to parse. |
Definition at line 37 of file jingleiceudp.cpp.
|
inlinevirtual |
Virtual destructor.
Definition at line 92 of file jingleiceudp.h.
|
inline |
Returns the list of connection candidates.
Definition at line 110 of file jingleiceudp.h.
|
inlinevirtual |
Creates an identical deep copy of the current instance.
Implements Plugin.
Definition at line 125 of file jingleiceudp.h.
|
virtual |
Reimplement this function if your plugin wants to add anything to the list of features announced via Disco.
Reimplemented from Plugin.
Definition at line 66 of file jingleiceudp.cpp.
|
virtual |
Returns an XPath expression that describes a path to child elements of a jingle element that the plugin handles. The result should be a single Tag.
Implements Plugin.
Definition at line 73 of file jingleiceudp.cpp.
Returns a new instance of the same plugin type, based on the Tag provided.
tag | The Tag to parse and create a new instance from. |
Implements Plugin.
Definition at line 79 of file jingleiceudp.cpp.
|
inline |
|
virtual |
Returns a Tag representation of the plugin.
Implements Plugin.
Definition at line 84 of file jingleiceudp.cpp.
|
inline |