Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 546
 
Chapter 12      Helper Classes
CWaitObject Class (C++ and Java only)
12-38
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
Return Values
If the method was able to get the mask it returns true; otherwise, it returns false.
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();
Parameters
None.
Return Values
The ID of the event or eUnknownEvent if no event triggered a wakeup.
InMask
The InMask method checks to see if the specified event is in the mask of events 
that the CWaitObject will wait for.
Syntax
C++: 
bool InMask(int iEventId);
Java: 
boolean InMask(int iEventId);