Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
12-30
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 12      Helper Classes
CWaitObject Class
Return Values
A printable string object listing the events in the wait mask.
GetMask 
The GetMask method gets the list of events that the CWaitObject will wait for.
Syntax
C++:
 
 
 
 
 
 
 
bool GetMask(Arguments ** pMask);
Java, .NET:  
Arguments GetMask();
Parameters
pMask
A pointer to an Arguments object pointer. GetMask will set the value of pMask to a pointer to an 
Arguments object that contains the event mask. 
Return Values
If the method was able to get the mask it returns true; otherwise, it returns false. For Java and .NET, the 
method returns null upon failure.
GetTriggerEvent 
The GetTriggerEvent method returns the ID of the last event in the CWaitObject’s mask that triggered 
the WaitOnMultipleEvents method to wake.
Syntax
C++: 
EnumCTIOS_EventID GetTriggerEvent()
Java: 
int GetTriggerEvent()
.NET: 
EventID GetTriggerEvent()
Parameters
None.
Return Values
The ID of the event or eUnknownEvent if no event triggered a wakeup.