Cisco Cisco Computer Telephony Integration OS 8.5 Guide Du Développeur
Chapter 6 Event Interfaces and Events
ISessionEvents Interface
6-4
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
OnConnectionFailure
The OnConnectionFailure event is generated when an established connection
fails. It returns the name of the failed connected server and the failure time of day.
Retry is automatic and can be followed by an OnConnection event when
connection is successfully reestablished. The client application need not take any
special action but may use this event to display connection status.
fails. It returns the name of the failed connected server and the failure time of day.
Retry is automatic and can be followed by an OnConnection event when
connection is successfully reestablished. The client application need not take any
special action but may use this event to display connection status.
Syntax
C++:
void OnConnectionFailure(Arguments& args)
COM:
void OnConnectionFailure (IArguments * args)
VB:
session_OnConnectionFailure (ByVal args As
CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
OnConnectionRejected
The OnConnectionRejected event indicates that the client has tried to make a
connection using incompatible versions of the CTI OS Server and CTI OS CIL.
connection using incompatible versions of the CTI OS Server and CTI OS CIL.
Syntax
C++:
void OnConnectionRejected (Arguments& args)
Keyword
Type
Description
EventTime
INT
Integer value with time of day expressed in
milliseconds.
milliseconds.
FailedServer
STRING
Name or TCP/IP address of the server that has
failed to respond. See ReasonCode.
failed to respond. See ReasonCode.
ReasonCode
SHORT
SERVER_CONNECTIONBROKEN,
SERVER_MISSINGHEARTBEATS
SERVER_MISSINGHEARTBEATS