class JGRtpMedia

A Jingle data payload. More...

Full nameTelEngine::JGRtpMedia
Definition#include <libs/yjingle/yatejingle.h>
InheritsTelEngine::GenObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

This class holds a Jingle data payload description

inline  JGRtpMedia (const char* id, const char* name, const char* clockrate, const char* channels, const char* synonym)

JGRtpMedia

Constructor. Fill this object from the given attributes

Parameters:
idThe 'id' attribute
nameThe 'name' attribute
clockrateThe 'clockrate' attribute
channelsThe 'channels' attribute
synonymThe 'synonym' attribute

inline  JGRtpMedia (XMLElement* xml)

JGRtpMedia

Constructor. Fill this object from an XML element

Parameters:
xmlThe element to fill from

inline  JGRtpMedia (const JGRtpMedia& src)

JGRtpMedia

Copy constructor

inline void  set (const char* id, const char* name, const char* clockrate, const char* channels, const char* synonym)

set

Set the data

Parameters:
idThe 'id' attribute
nameThe 'name' attribute
clockrateThe 'clockrate' attribute
channelsThe 'channels' attribute
synonymThe 'synonym' attribute

const String&  toString ()

toString

[const virtual]

Get the string repreasentation (id) of this payload

Returns: The string repreasentation (id) of this payload

Reimplemented from GenObject.

XMLElement*  toXML ()

toXML

[const]

Create a 'payload-type' element from this object

Returns: Valid XMLElement pointer

void  fromXML (XMLElement* xml)

fromXML

Fill this object from a given element

Parameters:
xmlThe element

String m_id

m_id

String m_name

m_name

String m_clockrate

m_clockrate

String m_channels

m_channels

String m_synonym

m_synonym

NamedList m_params

m_params


Generated by: paulc on bussard on Mon Mar 8 12:18:15 2010, using kdoc 2.0a54.