Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 490
   
8-10
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 8      Session Object
Methods
Return Values
None.
Remarks
For more information about CWaitObject see 
DisableSkillGroupStatistics (C++ , Java, and .NET)
The DisableSkillGroupStatistics method requests that sending real-time statistics to the session object 
be stopped. 
Syntax
C++, Java:
int DisableSkillGroupStatistics(Arguments & args) 
.NET:
CilError DisableSkillGroupStatistics(Arguments rArgs)
Parameters
args
This parameter has two required values for PeripheralId and SkillGroupNumber. See the Remarks 
section for a code example.
Return Value
Default CTI OS return values. See 
Remarks
C++ code example:
Arguments & argsStatBroadcast = Arguments::CreateInstance();
argsStatBroadcast.AddItem(CTIOS_SKILLGROUPNUMBER, intSG);
argsStatBroadcast.AddItem(CTIOS_PERIPHERALID, m_periphID);
m_pSkGrStatSession->DisableSkillGroupStatistics ( argsStatBroadcast );
argsStatBroadcast.Release();
Disconnect
The Disconnect method disconnects the open connection to the CTI OS server. In Java and .NET, you 
can use the Disconnect method to interrupt failover.
Syntax
C++:
void Disconnect (Arguments& args);
COM:
HRESULT Disconnect (/* [in, optional */ IArguments *args, /*[out]*/ int * 
errorcode );
VB:
Disconnect(args As CTIOSCLIENTLib.IArguments) As Long