Cisco Cisco Computer Telephony Integration Option 10.5 Developer's Guide

Page of 668
 
6-3
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
 
Chapter 6      Event Interfaces and Events
ISessionEvents Interface
ISessionEvents Interface
The Session object fires events on the ISessionEvents interface. The following 
events are published to subscribers of the 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.
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.
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.