Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 546
 
9-41
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 9      Agent Object
Methods
errorcode
An output parameter (return parameter in VB) that contains an error code 
from 
 in 
Return Values
Default CTI OS return values. Se
Remarks
The recipient receives the message via the OnChatMessage event.
SetAgentState
The SetAgentState method requests a new agent state. Login and Logout are valid 
agent states and can be set using the SetAgentState method as well as the Login 
and Logout methods.
Syntax
C++:
int SetAgentState(Arguments& args)
COM:
HRESULT SetAgentState (/*[in]*/ IArguments *args, 
/*[out,retval]*/ int * errorcode)
VB:
SetAgentState (args As CTIOSCLIENTLib.IArguments) As Long
Java:
int SetAgentState(Arguments args)
Input Parameters
args
Input parameter in the form of an Arguments array that contains one or more 
of the SetAgentState parameters listed in