Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
Chapter 6      Event Interfaces and Events
Java Adapter Classes
6-130
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1) 
.NET:
 void OnEvent(int iEventID, 
Cisco.CtiOs.Cil.EventPublisher.EventPublisherEventArgs args)
Java Adapter Classes
The CTI OS Java CIL contains the same adapter classes as the C++ CIL plus the 
LogEventsAdapter class. This class provides the default implementation for the 
message handlers in ILogEvents.
This section lists the methods available in the CTI OS Java CIL for event 
subscription and unsubscription.
IAllInOne
The following methods subscribe and unsubscribe the CTI OS Session Object for 
the IAllInOne interface.
int addAllInOneEventListener(IAllInOne  allInOneEvents)
int removeAllInOneEventListener(IAllInOne  allInOneEvents)
IAgentEvents
The following methods subscribe and unsubscribe the CTI OS Session Object for 
the IAgentEventsinterface.
int addAgentEventListener(IAgentEvents  agentEvents)
int removeAgentEventListener(IAgentEvents  agentEvents)
IButtonEnablementEvents
The following methods subscribe and unsubscribe the CTI OS Session Object for 
the IButtonEnablementEvents interface.
int addButtonEnablementEventListener(IButtonEnablementEvents 
buttonEvents)
int removeButtonEnablementEventListener(IButtonEnablementEvents 
buttonEvents)