Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 506
   
8-5
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 8      Session Object
Methods
Returns
A CtiOs_Enums.CilError code indicating success or failure.
AddListener Methods (C++ only)
The AddListener methods register the subscriber as a listener to the specified set of events.
Syntax
int AddEventListener(Arguments & rArguments);
int AddSessionEventListener(ISessionEvents * pSessionEvents);
int AddCallEventListener(ICallEvents * pCallEvents);
int AddAgentEventListener(IAgentEvents * pAgentEvents);
int AddSkillGroupEventListener(ISkillGroupEvents * pSkillGroupEvents);
int AddButtonEnablementEventListener(IButtonEnablementEvents *
pButtonEvents);
int AddAllInOneEventListener(IAllInOne * pAllInOneEvents);
int  AddSilentMonitorEventListener(ISilentMonitorEvents *
pSilentMonitorEvents);
int AddSessionEventGenericListener(IGenericEvents * pSessionEvents);
int AddCallEventGenericListener(IGenericEvents * pCallEvents);
int AddAgentEventGenericListener(IGenericEvents * pAgentEvents);
int AddSkillGroupEventGenericListener(IGenericEvents *
pSkillGroupEvents);
int AddButtonEnablementEventGenericListener(IGenericEvents *
pButtonEvents);
int AddAllInOneEventGenericListener(IGenericEvents * pAllInOneEvents);
int  AddSilentMonitorEventGenericListener(IGenericEvents *
pSilentMonitorEvents);
Remarks
Also, see the section 
 in 
Connect
The Connect method establishes a connection with a CTI OS server. 
Syntax
C++:
int Connect(Arguments& args)
COM:
HRESULT Connect(IArguments *args, int * errorcode)
VB:
Connect(args As CTIOSCLIENTLib.IArguments) As Long
Java:
int Connect(Arguments args)
.NET:
C
ilError Connect(Arguments rArgs)