class JGRtpMedia
|
A Jingle data payload. More... |
|
|
Public Methods
- inline JGRtpMedia (const char* id, const char* name, const char* clockrate,
const char* channels, const char* synonym)
- inline JGRtpMedia (XMLElement* xml)
- inline JGRtpMedia (const JGRtpMedia& src)
- inline void set (const char* id, const char* name, const char* clockrate,
const char* channels, const char* synonym)
- virtual const String& toString () const
- XMLElement* toXML () const
- void fromXML (XMLElement* xml)
Public Members
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:
id | The 'id' attribute
|
name | The 'name' attribute
|
clockrate | The 'clockrate' attribute
|
channels | The 'channels' attribute
|
synonym | The 'synonym' attribute
|
inline JGRtpMedia (XMLElement* xml)
| JGRtpMedia |
Constructor. Fill this object from an XML element
Parameters:
xml | The 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:
id | The 'id' attribute
|
name | The 'name' attribute
|
clockrate | The 'clockrate' attribute
|
channels | The 'channels' attribute
|
synonym | The '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:
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. |