class IAXMetaTrunkFrame

Meta trunk frame. More...

Full nameTelEngine::IAXMetaTrunkFrame
Definition#include <libs/yiax/yateiax.h>
InheritsTelEngine::Mutex [public ], TelEngine::RefObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Handle meta trunk frame with timestamps

 IAXMetaTrunkFrame (IAXEngine* engine, const SocketAddr& addr)

IAXMetaTrunkFrame

Constructor. Constructs an outgoing meta trunk frame

Parameters:
engineThe engine that owns this frame
addrRemote peer address

 ~IAXMetaTrunkFrame ()

~IAXMetaTrunkFrame

[virtual]

Destructor

inline const SocketAddr&  addr ()

addr

[const]

Get the remote peer address

Returns: The remote peer address

inline u_int32_t  timestamp ()

timestamp

Get the timestamp of this frame

Returns: The timestamp of this frame

void  setTimestamp (u_int32_t tStamp)

setTimestamp

Set the timestamp of this frame

Parameters:
tStampTimestamp value to set

bool  add (u_int16_t sCallNo, const DataBlock& data, u_int32_t tStamp)

add

Add a mini frame. If no room, send before adding

Parameters:
sCallNoSorce call number
dataMini frame data
tStampMini frame timestamp

Returns: False if the frame was sent and the write operation failed

bool  send (u_int32_t tStamp)

send

Send this frame to remote peer

Parameters:
tStampFrame timestamp

Returns: The result of the write operation


Generated by: paulc on bussard on Tue Apr 12 17:15:21 2011, using kdoc 2.0a54.