#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
const SocketAddr& addr | ( | ) | const [inline] |
Get the remote peer address
u_int32_t timestamp | ( | ) | [inline] |
Get the timestamp of this frame
void setTimestamp | ( | u_int32_t | tStamp | ) |
Set the timestamp of this frame
tStamp | Timestamp value to set |
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 |
bool send | ( | u_int32_t | tStamp | ) |
Send this frame to remote peer
tStamp | Frame timestamp |