#include <yatejingle.h>
Public Member Functions | |
JGTransport () | |
JGTransport (const JGTransport &src) | |
JGTransport (XMLElement *element) | |
virtual | ~JGTransport () |
XMLElement * | toXML () |
void | fromXML (XMLElement *element) |
void | addTo (XMLElement *transport) |
Static Public Member Functions | |
static XMLElement * | createTransport () |
Public Attributes | |
String | name |
String | address |
String | port |
String | preference |
String | username |
String | protocol |
String | generation |
String | password |
String | type |
String | network |
This class holds a Jingle transport description (protocol, address, port ...)
JGTransport | ( | ) | [inline] |
Constructor
JGTransport | ( | const JGTransport & | src | ) |
Copy constructor
JGTransport | ( | XMLElement * | element | ) | [inline] |
Constructor. Fill this object from an XML element
element | The element to fill from |
virtual ~JGTransport | ( | ) | [inline, virtual] |
Destructor
static XMLElement* createTransport | ( | ) | [static] |
Create a 'transport' element
XMLElement* toXML | ( | ) |
Create a 'candidate' element from this object
void fromXML | ( | XMLElement * | element | ) |
Fill this object from a given element
element | The element |
void addTo | ( | XMLElement * | transport | ) | [inline] |
Create and add a 'candidate' child to the given element
transport | The element |
References XMLElement::addChild().