Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: Gabi on August 23, 2021, 12:00:53 PM

Title: How can I detect a T-Server disconnection on PSDK 9?
Post by: Gabi on August 23, 2021, 12:00:53 PM
I am maintaining a custom Java application which connects to the T-Server. It used to work well when the server was 8.5, but since it was migrated to 9.0, the application no longer detects server disconnections.

ADDP is set up as indicated by the Genesys documentation:
[code] PropertyConfiguration serverConfig = new PropertyConfiguration();
serverConfig.setUseAddp(true);
serverConfig.setAddpServerTimeout(20);
serverConfig.setAddpClientTimeout(10);
serverConfig.setAddpTraceMode(AddpTraceMode.Both);[/code]

However, nothing happens when the T-Server disconnects. The application is no longer notified of an unexpected disconnection until it attempts to interact with the fallen T-Server and gets an error.

Is there a way to make the application identify when the connection is closed?

Thanks in advance.
Title: Re: How can I detect a T-Server disconnection on PSDK 9?
Post by: cavagnaro on August 23, 2021, 03:08:46 PM
You have a listener for the Disconnect Event?