On Thu, 20 Jul 2006 04:35:57 -0400, Caswell, Paul (SELEX Comms) (UK)
<[EMAIL PROTECTED]> wrote:
Interface Connection
{
boolean OnSignalSetup(....)
boolean OnSignalRelease(...)
};
My EndPoint Server uses a servant manager to incarnate Connection
objects when the client calls 'CreateIncomingConnection(...)'. All of
this works fine. The issue I have is that at a point in the future,
when the Connection is no longer required (when OnSignalRelease() is
called ) I want it destroyed (via etherealise(..))
Hi Paul,
etherealize will be called when the servant's reference count drops to
zero. This can be achieved by OnSignalRelease() calling the POA's
deactivate_object() operation on itself. If this doesn't work, make
sure that you've released all references to the servant. (On the server
side only, the client side does not factor into the servant's reference
counting.)
Frank
--
Frank Pilhofer, [EMAIL PROTECTED]
_______________________________________________
Mico-devel mailing list
[email protected]
http://www.mico.org/mailman/listinfo/mico-devel