|
Yate
|
A single IAX2 numeric Information Element. More...
#include <yateiax.h>
Public Member Functions | |
| IAXInfoElementNumeric (Type type, u_int32_t val, u_int8_t len) | |
| virtual | ~IAXInfoElementNumeric () |
| int | length () const |
| u_int32_t | data () const |
| virtual void | toBuffer (DataBlock &buf) |
| virtual void | toString (String &buf) |
A single IAX2 numeric Information Element.
This class holds a single Information Element with 1, 2 or 4 byte(s) length data
| IAXInfoElementNumeric | ( | Type | type, |
| u_int32_t | val, | ||
| u_int8_t | len | ||
| ) |
Constructor
| type | Type of this IE |
| val | Source value to construct this IE |
| len | Value length |
| virtual ~IAXInfoElementNumeric | ( | ) | [inline, virtual] |
Destructor
| u_int32_t data | ( | ) | const [inline] |
Get the data
| 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