Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
12-39
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Chapter 12 Helper Classes
CWaitObject Class
What
The What method returns a text string containing the description of the exception,
the code of an error, and the status.
the code of an error, and the status.
Syntax
const char* What();
Parameters
None.
Return Values
Returns a text string containing the description of the exception, the code of an
error, and the status.
error, and the status.
CWaitObject Class
CWaitObject is a CIL object that derives from CtiOsObject. It is a utility class that
enables a thread to wait for one or more CTI events. The user can provide a list of
events along with a wait timeout. Wait objects are created with the
CreateWaitObject Session Object method and destroyed with the
DestroyWaitObject Session Object method.
enables a thread to wait for one or more CTI events. The user can provide a list of
events along with a wait timeout. Wait objects are created with the
CreateWaitObject Session Object method and destroyed with the
DestroyWaitObject Session Object method.
Warning
You must not use a WaitObject instance within an event handler. Events are sent
to desktop applications by a single thread in the CIL. If that thread is blocked
while waiting for a specific event, the thread will deadlock and the event
handler will not receive any more events.
to desktop applications by a single thread in the CIL. If that thread is blocked
while waiting for a specific event, the thread will deadlock and the event
handler will not receive any more events.
Methods
list the CWaitObject class methods.