#include <yateiax.h>

Public Member Functions | |
| IAXMetaTrunkFrame (IAXEngine *engine, const SocketAddr &addr) | |
| virtual | ~IAXMetaTrunkFrame () |
| const SocketAddr & | addr () const |
| u_int32_t | timestamp () |
| void | setTimestamp (u_int32_t tStamp) |
| bool | add (u_int16_t sCallNo, const DataBlock &data, u_int32_t tStamp) |
| bool | send (u_int32_t tStamp) |
Handle meta trunk frame with timestamps
| IAXMetaTrunkFrame | ( | IAXEngine * | engine, | |
| const SocketAddr & | addr | |||
| ) |
Constructor. Constructs an outgoing meta trunk frame
| engine | The engine that owns this frame | |
| addr | Remote peer address |
| virtual ~IAXMetaTrunkFrame | ( | ) | [virtual] |
Destructor
| bool add | ( | u_int16_t | sCallNo, | |
| const DataBlock & | data, | |||
| u_int32_t | tStamp | |||
| ) |
Add a mini frame. If no room, send before adding
| sCallNo | Sorce call number | |
| data | Mini frame data | |
| tStamp | Mini frame timestamp |
| const SocketAddr& addr | ( | ) | const [inline] |
Get the remote peer address
| bool send | ( | u_int32_t | tStamp | ) |
Send this frame to remote peer
| tStamp | Frame timestamp |
| void setTimestamp | ( | u_int32_t | tStamp | ) |
Set the timestamp of this frame
| tStamp | Timestamp value to set |
| u_int32_t timestamp | ( | ) | [inline] |
Get the timestamp of this frame
1.5.7.1