View Single Post
  #1 (permalink)  
Old 11-07-2005
OrNot OrNot is offline
Registered User
 
Name: Bin.Li
Organization: GE Healthcare
Project: Enterprise solution
 
Join Date: Jun 2005
Location: Shanghai
Posts: 161
Send a message via MSN to OrNot
-->
Question about ConnectionLost

hi,
In bidir circumstance, I create a thread in client to reigster the callbacks periodically to the server in case that the server suddenly breaks down but restart again. The client , actually a service, is not necessary to restart and can keep working with the server.
Are there any better solutions so that I just need retry to register the callbacks only when I detect the connection lost or connection closure. Try-catch?

Best Regareds
OrNot
__________________
Looking for the nails with my favorite hammer, ICE.
-------------------------------------------
Huo.Fei
GE Healthcare
Bin.Li@ge.com
--------------------------------------------
Reply With Quote