JGTransport Class Reference

A Jingle transport description. More...

#include <yatejingle.h>

Inheritance diagram for JGTransport:

RefObject GenObject

List of all members.

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


Detailed Description

A Jingle transport description.

This class holds a Jingle transport description (protocol, address, port ...)


Constructor & Destructor Documentation

JGTransport (  )  [inline]

Constructor

JGTransport ( const JGTransport &  src  ) 

Copy constructor

JGTransport ( XMLElement *  element  )  [inline]

Constructor. Fill this object from an XML element

Parameters:
element The element to fill from

virtual ~JGTransport (  )  [inline, virtual]

Destructor


Member Function Documentation

void addTo ( XMLElement *  transport  )  [inline]

Create and add a 'candidate' child to the given element

Parameters:
transport The element

References XMLElement::addChild().

static XMLElement* createTransport (  )  [static]

Create a 'transport' element

Returns:
Valid XMLElement pointer

void fromXML ( XMLElement *  element  ) 

Fill this object from a given element

Parameters:
element The element

XMLElement* toXML (  ) 

Create a 'candidate' element from this object

Returns:
Valid XMLElement pointer


The documentation for this class was generated from the following file:

Generated on Sun Dec 7 21:45:27 2008 for Yate by  doxygen 1.5.7.1