lookup(DiscoverReplyPrx reply, Ice.Current current, Ice.CancellationToken cancel) { try { reply.reply(_obj); } catch (Ice.LocalException) { // Ignore } }
reply(Ice.ObjectPrx obj, Ice.Current current, Ice.CancellationToken cancel) { lock (this) { if (_obj == null) { _obj = obj; } Monitor.Pulse(this); } }