Detecting Disconnect with Platform SDK 7.6

Dear Genesys Programmers and other animals (René! :stuck_out_tongue: )!!!

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

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) :wink:

R.

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

2 Likes

Rene,

it is not working :frowning:

Can anyone help?

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.