Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: victor on August 28, 2009, 12:53:23 PM

Title: Detecting Disconnect with Platform SDK 7.6
Post by: victor on August 28, 2009, 12:53:23 PM
Dear Genesys Programmers and other animals (René!  :P )!!!

I have a problem with EventServerDisconnected - as you all know (or should), from 7.6, EventServerDisconnected is no longer issued by Platform SDK when client disconnects from T-Server. So, can someone please tell me how we are supposed to detect a disconnect from T-Server using Platform SDK? A sample code would be really great!!!

Thanks!
Vic

Title: Re: Detecting Disconnect with Platform SDK 7.6
Post by: René on August 30, 2009, 07:38:45 PM
Dear Victor (aka boss of the band ;)),

I have no sample code for you this time... But you should looks at the events "Opened" and "Closed" of TServerProtocol class (inherited from AbstractChannel class) ;-)

R.
Title: Re: Detecting Disconnect with Platform SDK 7.6
Post by: victor on August 31, 2009, 08:12:00 AM
Dear Band Member with awesome shiny guitar and cool boots and Mohawk in a shape of "G"!

I have been trying to use EventBlock, but as you have probably noticed, it does not provide access to this. At least, I don't see it! I will try again and will inform you how it went!

Vic
Title: Re: Detecting Disconnect with Platform SDK 7.6
Post by: victor on September 14, 2009, 11:06:58 AM
Rene,

it is not working :(

Can anyone help?
Title: Re: Detecting Disconnect with Platform SDK 7.6
Post by: René on September 14, 2009, 12:47:47 PM
Vic,

I've tested that before posting here and it worked! Are you using any application blocks from Genesys? Are you using ADDP? Did I understand you correctly that you're trying to detect lost (dropped) connection to T-Server on agent application's side?

R.