Cisco Cisco Computer Telephony Integration OS 8.5 Guía Del Desarrollador
8-4
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 8 Session Object
Methods
AddEventListener (Java and .NET only)
The AddEventListener method subscribes an IGenericEvents object as a listener on a particular
subscriber list.
subscriber list.
Syntax
JAVA:
int AddEventListener(IGenericEvents Listener, int iListID)
.NET
CilError AddEventListener(IGenericEvents Listener, SubscriberList iListID)
Parameters
Listener
The IGenericEvents object that is subscribing for events.
ListID
The ID of the subscriber list to which the Listener is to be added.
GetValueArray
See
GetValueInt
See
GetValueString
See
IsAgent
Checks the current agent and returns true if the current agent is an
agent and not a supervisor.
agent and not a supervisor.
IsCCMSilentMonitor
The IsCCMSilentMonitor method determines whether CTI OS has
been configured to use CCM based silent monitor. This method is only
supported with the C++, Java, and .Net CILs
been configured to use CCM based silent monitor. This method is only
supported with the C++, Java, and .Net CILs
IsSupervisor
Checks the current agent and returns true if the current agent is a
supervisor.
supervisor.
IsValid
See
LogToServer
Logs a message into the CTI OS Server log.
RemoveListener methods
Unregisters the subscriber from an event listener.
RequestDesktopSettings
Sends a message request to the CTI OS Server to retrieve the desktop
settings configured for this site.
settings configured for this site.
SetAgent
Sets an agent to a session object.
SetCurrentCall
Associates the current call to a session object.
SetCurrentSilentMonitor
Sets the SilentMonitorManager object instance specified as the current
manager in the CTI OS session object.
manager in the CTI OS session object.
SetMessageFilter
Sets the message filter that controls the set of events sent to the CIL.
SetSupervisorSilentMonitor
Mode
Mode
Forces supervisors into monitored mode.
SetValue
See
Table 8-2
Session Object Methods (continued)
Method
Description