Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
6-15
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 6      Event Interfaces and Events
ISessionEvents Interface
Syntax
C++:
void OnHeartbeat(Arguments& args)
COM:
void Onheartbeat (IArguments * args)
VB:
session_OnHeartbeat (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
Keyword
Type
Description
EventTime
INT
Integer value with time of day expressed in milliseconds.
OnMissingHeartbeat
The OnMissingHeartbeat event is generated when an expected heartbeat is not received. It returns the 
number of consecutive heartbeats missed and time of day. When the number of heartbeats missed equals 
or exceeds the maximum number of heartbeats allowed (set in the MaxHeartbeats property), an 
OnConnectionFailure event is generated instead of an OnMissingHeartbeat event, and the CIL 
automatically attempts to reconnect to the CTI OS server, alternating between the CtiosA and CtiosB 
servers passed as parameters in the Connect method.
Syntax
C++: 
void OnMissingHeartbeat(Arguments& args)
COM:
void OnMissingHeartbeat (IArguments * args)
VB:
session_OnMissingHeartbeat (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
Keyword
Type
Description
EventTime
INT
Integer value with time of day expressed in milliseconds.
Consecutive 
MissedHeartbeats
INT
Integer value with the number of heartbeats missed.
HeartbeatInterval
INT
Integer value with the heartbeat interval, in milliseconds.
OnMonitorModeEstablished
The OnMonitorModeEstablished event is generated when Monitor Mode is established.