public override void setAdapterDirectProxy_async(Ice.AMD_LocatorRegistry_setAdapterDirectProxy cb, string adapter, Ice.ObjectPrx obj, Ice.Current current) { if (obj != null) { _adapters[adapter] = obj; } else { _adapters.Remove(adapter); } cb.ice_response(); }
setAdapterDirectProxy_async(Ice.AMD_LocatorRegistry_setAdapterDirectProxy cb, string adapterId, Ice.ObjectPrx proxy, Ice.Current current) { lock (this) { if (proxy != null) { _adapters.Add(adapterId, proxy); } else { _adapters.Remove(adapterId); } cb.ice_response(); } }