Yate
|
A single IAX2 text Information Element. More...
#include <yateiax.h>
Public Member Functions | |
IAXInfoElementString (Type type, const char *buf, unsigned len) | |
virtual | ~IAXInfoElementString () |
int | length () const |
String & | data () |
virtual void | toBuffer (DataBlock &buf) |
virtual void | toString (String &buf) |
A single IAX2 text Information Element.
This class holds a single Information Element with text data
IAXInfoElementString | ( | Type | type, |
const char * | buf, | ||
unsigned | len | ||
) | [inline] |
Constructor
type | Type of this IE |
buf | Source buffer to construct this IE |
len | Buffer length |
virtual ~IAXInfoElementString | ( | ) | [inline, virtual] |
Destructor
String& data | ( | ) | [inline] |
Get the data
int length | ( | ) | const [inline] |
Get the data length
virtual void toBuffer | ( | DataBlock & | buf | ) | [virtual] |
Constructs a buffer containing this Information Element
buf | Destination buffer |
Reimplemented from IAXInfoElement.
virtual void toString | ( | String & | buf | ) | [inline, virtual] |