Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 546
 
6-5
Cisco ICM Software CTI OS Developer’s Guide Release 6.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
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. 
This message has no fields.
Keyword
Type
Description
EventTime
INT
Integer value with time of day expressed in 
milliseconds.
CurrentServer 
STRING
Name or tcp/ip address of the current 
connected CTI OS server.