|
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
| int length | ( | ) | const [inline] |
Get the data length
Constructs a buffer containing this Information Element
| buf | Destination buffer |
Reimplemented from IAXInfoElement.
1.7.6.1