Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | List of all members
Tp::CandidateInfo Struct Reference

#include <TelepathyQt/Types>

Inheritance diagram for Tp::CandidateInfo:
Inheritance graph
[legend]

Public Member Functions

 CandidateInfo ()
 
 CandidateInfo (const QMap< QString, QDBusVariant > &a)
 
CandidateInfooperator= (const QMap< QString, QDBusVariant > &a)
 
- Public Member Functions inherited from QMap< QString, QDBusVariant >
 QMap ()
 
 QMap (const QMap< Key, T > &other)
 
 QMap (const std::map< Key, T > &other)
 
 ~QMap ()
 
QMap< Key, T > & operator= (const QMap< Key, T > &other)
 
void swap (QMap< Key, T > &other)
 
std::map< Key, T > toStdMap () const
 
bool operator== (const QMap< Key, T > &other) const
 
bool operator!= (const QMap< Key, T > &other) const
 
int size () const
 
bool isEmpty () const
 
void clear ()
 
int remove (const Key &key)
 
iterator remove (iterator it)
 
take (const Key &key)
 
bool contains (const Key &key) const
 
const Key key (const T &value) const
 
const Key key (const T &value, const Key &defaultKey) const
 
const T value (const Key &key) const
 
const T value (const Key &key, const T &defaultValue) const
 
T & operator[] (const Key &key)
 
const T operator[] (const Key &key) const
 
QList< Key > uniqueKeys () const
 
QList< Key > keys () const
 
QList< Key > keys (const T &value) const
 
QList< T > values () const
 
QList< T > values (const Key &key) const
 
int count (const Key &key) const
 
int count () const
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator constBegin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator constEnd () const
 
iterator erase (iterator pos)
 
void erase (const Key &key)
 
iterator find (const Key &key)
 
const_iterator find (const Key &key) const
 
const_iterator constFind (const Key &key) const
 
iterator lowerBound (const Key &key)
 
const_iterator lowerBound (const Key &key) const
 
iterator upperBound (const Key &key)
 
const_iterator upperBound (const Key &key) const
 
iterator insert (const Key &key, const T &value)
 
iterator insert (const Key &key, const T &value, bool overwrite)
 
iterator insertMulti (const Key &key, const T &value)
 
iterator replace (const Key &key, const T &value)
 
QMap< Key, T > & unite (const QMap< Key, T > &other)
 
bool empty () const
 

Additional Inherited Members

- Public Attributes inherited from QMap< QString, QDBusVariant >
typedef Iterator
 
typedef ConstIterator
 
typedef key_type
 
typedef mapped_type
 
typedef difference_type
 
typedef size_type
 

Detailed Description

Mapping type generated from the specification. Convertible with QMap<QString, QDBusVariant>, but needed to have a discrete type in the Qt type system.

Extra information about the candidate. Allowed and mandatory keys depend on the transport protocol used. The following keys are commenly used:

type - u
The type of candidate (Call_Stream_Candidate_Type)
foundation - s
The foundation of this candidate
protocol - u
Underlying protocol of the candidate (Media_Stream_Base_Proto)
priority - u
Priority of the candidate (should be a number between 0 and 65535). Most ICE implementations will prefer the highest priority candidate pair that manages to connect. For backwards compatibility with non-ICE SIP clients, the lowest priority candidate may be sent as a raw UDP fallback candidate. It is recommended that a relay candidate is used as the lowest priority candidate if possible. If both IPv4 and IPv6 raw udp fallback candidates are available, they should be set to the same priority and advertised to the CM at the same time. The CM will decide which to advertise to the remote end.
base-ip - s
The underlying Host address where media sent to this (non-host-type) candidate will eventually arrive.
base-port - u
The underlying Host port where media sent to this (non-host-type) candidate will eventually arrive.
username - s
Username of this candidate (only if credentials are per candidate)
password - s
Password of this candidate (only if credentials are per candidate)
ttl - u
The TTL mandated for RTP/RTCP packets sent to a multicast group (only valid for Multicast Streams)

Constructor & Destructor Documentation

Tp::CandidateInfo::CandidateInfo ( )
inline
Tp::CandidateInfo::CandidateInfo ( const QMap< QString, QDBusVariant > &  a)
inline

Member Function Documentation

CandidateInfo& Tp::CandidateInfo::operator= ( const QMap< QString, QDBusVariant > &  a)
inline


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.4