• Post Reply Bookmark Topic Watch Topic
  • New Topic

How server deal with a remote object when a client dead?

 
HiBob Chu
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For example, a remote object A run on a server,
a client use the reference of A. when the client
dead, how the server dealwith the A? collect it
automatically or let it be?
regards.
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may want to look at Unreferenced interface to implement cleaning the dead connections. However, if you don't do anything, that will be just fine, too.
Eugene.
 
Willie Smits increased rainfall 25% in three years by planting trees. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!