Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide
Chapter 6 Event Interfaces and Events
ISessionEvents Interface
6-20
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
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.
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.
milliseconds.
Keyword
Type
Description
EventTime
INT
Integer value with time of day expressed in
milliseconds.
milliseconds.
Consecutive
MissedHeartbeats
MissedHeartbeats
INT
Integer value with the number of heartbeats
missed.
missed.
HeartbeatInterval
INT
Integer value with the heartbeat interval, in
milliseconds.
milliseconds.