OpalPresentityWithCommandThread Class Reference
#include <pres_ent.h>
Detailed Description
Representation of a presence identity that uses a background thread to process commands.
Member Typedef Documentation
Constructor & Destructor Documentation
| OpalPresentityWithCommandThread::OpalPresentityWithCommandThread |
( |
|
) |
[protected] |
Construct the presentity class that uses a command thread.
| OpalPresentityWithCommandThread::~OpalPresentityWithCommandThread |
( |
|
) |
|
Destory the presentity class that uses a command thread. Note this will block until the background thread has stopped.
Member Function Documentation
Lowlevel function to send a command to the presentity handler. All commands are asynchronous. They will usually initiate an action for which an indication (callback) will give a result.
The default implementation queues the command for the background thread to handle.
Returns true if the command was queued. Note that this does not mean the command succeeded, only that the underlying protocol is processing commands, that is the backgrund thread is running
- Parameters:
-
Reimplemented from OpalPresentity.
| void OpalPresentityWithCommandThread::StartThread |
( |
|
) |
|
Start the background thread to handle commands. This is typically called from the concrete classes Open() function.
| void OpalPresentityWithCommandThread::StopThread |
( |
|
) |
|
Stop the background thread to handle commands. This is typically called from the concrete classes Close() function. It is also called fro the destructor to be sure the thread has stopped before the object is destroyed.
| void OpalPresentityWithCommandThread::ThreadMain |
( |
|
) |
[protected] |
Field Documentation
The documentation for this class was generated from the following file: