[omniORB] Hooking into CORBA::Release

Bruce Fountain B_Fountain@motherwell.com.au
Tue, 3 Jul 2001 09:15:53 +0800


Kevin Wooten wrote:
> I am trying to
> implement reference counting of server-side objects, and I figure the
> most efficient way to implement it is to decrement the object on the
> server only when the client side has gone away. To do this I need to
> detect when the object 
> reference's count reaches zero. Any info would be helpful, 

Are you familiar with the Evictor pattern? This is a servant-pool
strategy which is intended to address the problem of servants
being accumulated over time. See Henning&Vinoski 12.6 (p570).


Bruce Fountain