Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 500
   
8-23
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 8      Session Object
Methods
Parameters
bIsSupervisor
Output parameter (return parameter in VB) that returns true if the current AgentMode connection is 
for a supervisor and false if it is for an agent.
Return Values
If the current agent is a supervisor it returns true, otherwise it returns false.
IsValid
See 
 for a description of the IsValid method.
LogToServer
The LogToServer method logs a message into the CTI OS server log.
Syntax
C++:
 
int LogToServer(Arguments & args);
COM:
 
HRESULT LogToServer (/*[in]*/ IArguments * args, /*[out,retval]*/ int * 
errorcode);
Java:
int LogToServer(Arguments args)
.NET:
CilError LogToServer(Arguments rArgs)
Parameters
args
Arguments array that contain the following parameters.
Table 8-4
LogToServer Arguments Array Parameters
Keyword
Type
Description
TextMessage
STRING
Text of message to be logged to server
TraceMask
INT
Trace mask with which to trace the text 
errorcode
An output parameter (return parameter in VB) that contains an error code from 
 in 
Return Values
Default CTI OS return values. See