Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide
6-3
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Chapter 6 Event Interfaces and Events
ISessionEvents Interface
OnConnection
The OnConnection event is generated after the Connect method succeeds. It
returns the name of the connected server and the connection time of day. The
client application need not take any special action but may use it to display
connection status.1
returns the name of the connected server and the connection time of day. The
client application need not take any special action but may use it to display
connection status.1
Syntax
C++:
void OnConnection(Arguments& args)
COM:
void OnConnection (IArguments * args)
VB:
session_OnConnection (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
OnConnectionClosed
The OnConnectionClosed message is generated when a connection is terminated
by the client. This message has no fields. This event indicates successful
completion of an action that was initiated by the client (CIL or application using
the CIL). By contrast, the OnConnectionFailure event is generated when the
connection terminated for reasons other than that the client closed the connection.
by the client. This message has no fields. This event indicates successful
completion of an action that was initiated by the client (CIL or application using
the CIL). By contrast, the OnConnectionFailure event is generated when the
connection terminated for reasons other than that the client closed the connection.
Keyword
Type
Description
EventTime
INT
Integer value with time of day expressed in
milliseconds.
milliseconds.
CurrentServer
STRING
Name or TCP/IP address of the current
connected CTI OS server.
connected CTI OS server.