JGRtpCandidate Class Reference

A RTP transport candidate. More...

#include <yatejingle.h>

Inheritance diagram for JGRtpCandidate:
String GenObject

List of all members.

Public Member Functions

 JGRtpCandidate (const char *id, const char *component="1", unsigned int generation=0, unsigned int net=0, int prio=0)
 JGRtpCandidate (XMLElement *xml, const JGRtpCandidates &container)
XMLElementtoXml (const JGRtpCandidates &container) const
void fromXml (XMLElement *xml, const JGRtpCandidates &container)

Public Attributes

String m_address
String m_port
String m_component
String m_generation
String m_network
String m_priority
String m_protocol
String m_type

Detailed Description

A RTP transport candidate.

This class holds a RTP transport candidate


Constructor & Destructor Documentation

JGRtpCandidate ( const char *  id,
const char *  component = "1",
unsigned int  generation = 0,
unsigned int  net = 0,
int  prio = 0 
) [inline]

Constructor

JGRtpCandidate ( XMLElement xml,
const JGRtpCandidates container 
) [inline]

Constructor. Build a candidate from received data

Parameters:
xml Received xml element
container The transport container

References JGRtpCandidate::fromXml().


Member Function Documentation

void fromXml ( XMLElement xml,
const JGRtpCandidates container 
)

Fill this object from a candidate element using remote address/port

Parameters:
xml Received xml element
container The transport container

Referenced by JGRtpCandidate::JGRtpCandidate().

XMLElement* toXml ( const JGRtpCandidates container  )  const

Create a 'candidate' element from this object using local address/port

Parameters:
container The transport container
Returns:
Valid XMLElement pointer if type is a known one

The documentation for this class was generated from the following file:
Generated on Thu Apr 8 18:22:38 2010 for Yate by  doxygen 1.6.3