IAXMetaTrunkFrame Class Reference
Meta trunk frame.
More...
#include <yateiax.h>
List of all members.
Detailed Description
Meta trunk frame.
Handle meta trunk frame with timestamps
Constructor & Destructor Documentation
Constructor. Constructs an outgoing meta trunk frame
- Parameters:
-
| engine | The engine that owns this frame |
| addr | Remote peer address |
Member Function Documentation
bool add |
( |
u_int16_t |
sCallNo, |
|
|
const DataBlock & |
data, |
|
|
u_int32_t |
tStamp | |
|
) |
| | |
Add a mini frame. If no room, send before adding
- Parameters:
-
| sCallNo | Sorce call number |
| data | Mini frame data |
| tStamp | Mini frame timestamp |
- Returns:
- False if the frame was sent and the write operation failed
Get the remote peer address
- Returns:
- The remote peer address
bool send |
( |
u_int32_t |
tStamp |
) |
|
Send this frame to remote peer
- Parameters:
-
- Returns:
- The result of the write operation
void setTimestamp |
( |
u_int32_t |
tStamp |
) |
|
Set the timestamp of this frame
- Parameters:
-
| tStamp | Timestamp value to set |
u_int32_t timestamp |
( |
|
) |
[inline] |
Get the timestamp of this frame
- Returns:
- The timestamp of this frame
The documentation for this class was generated from the following file: