IAXMetaTrunkFrame Class Reference

Meta trunk frame. More...

#include <yateiax.h>

Inheritance diagram for IAXMetaTrunkFrame:

RefObject Mutex GenObject

List of all members.

Public Member Functions

 IAXMetaTrunkFrame (IAXEngine *engine, const SocketAddr &addr)
virtual ~IAXMetaTrunkFrame ()
const SocketAddraddr () 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)


Detailed Description

Meta trunk frame.

Handle meta trunk frame with timestamps


Constructor & Destructor Documentation

IAXMetaTrunkFrame ( IAXEngine engine,
const SocketAddr addr 
)

Constructor. Constructs an outgoing meta trunk frame

Parameters:
engine The engine that owns this frame
addr Remote peer address

virtual ~IAXMetaTrunkFrame (  )  [virtual]

Destructor


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

const SocketAddr& addr (  )  const [inline]

Get the remote peer address

Returns:
The remote peer address

bool send ( u_int32_t  tStamp  ) 

Send this frame to remote peer

Parameters:
tStamp Frame timestamp
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:

Generated on Sun Dec 7 21:45:26 2008 for Yate by  doxygen 1.5.7.1