Home Help Center

Question about checking for reconnection

alex_leshiialex_leshii Member Alex SamsonikOrganization: Donskoi State Technical UniversityProject: OCI middle f
Hi!
Can you explain me, how can i check, that client was reconnected to server?
When i restart server-side application, in debug-mode i get LocalExceptionWrapper - exception, and then client automatically reconnects to server without thowing any exception on the top level of code. How can i check, that client was reconnected to the sever? May be is there any unique-id's of connetion or hash-values?

Thank's

Comments

  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi Alex,

    You should be able to use ice_getCachedConnection on your proxy. See Using Connections - Ice 3.4 - ZeroC

    Best regards,
    Bernard
  • alex_leshiialex_leshii Member Alex SamsonikOrganization: Donskoi State Technical UniversityProject: OCI middle f
    Hi, bernard!
    Thank you for your help!
Sign In or Register to comment.