IAXInfoElementBinary Class Reference
A single IAX2 numeric Information Element.
More...
#include <yateiax.h>
List of all members.
Detailed Description
A single IAX2 numeric Information Element.
This class holds a single Information Element with binary data
Constructor & Destructor Documentation
Constructor
- Parameters:
-
| type | Type of this IE |
| buf | Source buffer to construct this IE |
| len | Buffer length |
Member Function Documentation
Get the data
- Returns:
- The data
int length |
( |
|
) |
const [inline] |
Get the data length
- Returns:
- The data length
virtual void toBuffer |
( |
DataBlock & |
buf |
) |
[virtual] |
Constructs a buffer containing this Information Element
- Parameters:
-
Reimplemented from IAXInfoElement.
virtual void toString |
( |
String & |
buf |
) |
[virtual] |
Add this element to a string
- Parameters:
-
Reimplemented from IAXInfoElement.
Decode an APPARENT_ADDR information element and copy it to a SocketAddr object
- Parameters:
-
| addr | Destination object |
| ie | Source IE |
- Returns:
- False if ie is 0
The documentation for this class was generated from the following file: