#include <frame.h>
Inheritance diagram for IAX2FrameList:
Public Member Functions | |
~IAX2FrameList () | |
void | ReportList () |
IAX2Frame * | GetLastFrame () |
void | Initialise () |
BOOL | Empty () |
void | GrabContents (IAX2FrameList &src) |
void | DeleteMatchingSendFrame (IAX2FullFrame *reply) |
void | AddNewFrame (IAX2Frame *src) |
void | GetResendFramesDeleteOldFrames (IAX2FrameList &framesToSend) |
virtual PINDEX | GetSize () |
void | MarkAllAsResent () |
Protected Member Functions | |
virtual PINDEX | GetEntries () |
Protected Attributes | |
PMutex | mutex |
Note please, this class is thread safe.
You do not need to protect acces to this class.
IAX2FrameList::~IAX2FrameList | ( | ) |
void IAX2FrameList::AddNewFrame | ( | IAX2Frame * | src | ) |
Add the frame (supplied as an argument) to the end of this list
void IAX2FrameList::DeleteMatchingSendFrame | ( | IAX2FullFrame * | reply | ) |
Delete the frame that has been sent, which is waiting for this reply. The reply is the argument.
BOOL IAX2FrameList::Empty | ( | ) | [inline] |
True if this frame list is empty
virtual PINDEX IAX2FrameList::GetEntries | ( | ) | [inline, protected, virtual] |
NON Thread safe read of the number of elements on this list.
IAX2Frame* IAX2FrameList::GetLastFrame | ( | ) |
Get pointer to last frame in the list. Remove this frame from the list
void IAX2FrameList::GetResendFramesDeleteOldFrames | ( | IAX2FrameList & | framesToSend | ) |
Get a list of frames to send, and delete the timed out frames
virtual PINDEX IAX2FrameList::GetSize | ( | ) | [inline, virtual] |
Thread safe read of the number of elements on this list.
void IAX2FrameList::GrabContents | ( | IAX2FrameList & | src | ) |
Copy to this frame the contents of the frameList pointed to by src
void IAX2FrameList::Initialise | ( | ) | [inline] |
Removing item from list will not automatically delete it
void IAX2FrameList::MarkAllAsResent | ( | ) |
Mark every frame on this list as having been resent
void IAX2FrameList::ReportList | ( | ) |
Report the frames queued in this list
PMutex IAX2FrameList::mutex [protected] |
Local variable which protects access.