Cisco Cisco Computer Telephony Integration Option 8.5 開発者ガイド
8-15
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
Chapter 8 Session Object
Methods
Disconnect
The Disconnect method disconnects the open connection to the CTI OS server. In
Java, you can use the Disconnect method to interrupt failover.
Java, 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
Java:
int Disconnect(Arguments args)
Parameters
args
An optional arguments array containing the
CTIOS_FORCEDDISCONNECT keyword, which forces a disconnect even if
the Session object rejects the disconnect. This keyword should be added to
the array if the session mode has not yet been set by SetAgent or
SetSessionMode at the time of the disconnect.
CTIOS_FORCEDDISCONNECT keyword, which forces a disconnect even if
the Session object rejects the disconnect. This keyword should be added to
the array if the session mode has not yet been set by SetAgent or
SetSessionMode at the time of the disconnect.
errorcode
An output parameter (return parameter in VB) that contains an error code
from
from
in
Return Values
Default CTI OS return values. See
DumpProperties
See
for a description of the DumpProperties method.