public void AddClient(ICallbackReceiverPrx?client, Current current) { lock (this) { Console.WriteLine($"adding client `{client!.Identity}'"); _clients.Add(client.Clone(fixedConnection: current.Connection)); } }
public void InitiateCallback(ICallbackReceiverPrx?proxy, Current current, CancellationToken cancel) { Console.Out.WriteLine("initiating callback"); try { proxy !.Callback(); } catch (Exception ex) { Console.Error.WriteLine(ex); } }
public void InitiateCallback(ICallbackReceiverPrx?proxy, Current current) { try { proxy !.Callback(current.Context); } catch (DispatchException ex) { ex.ConvertToUnhandled = false; throw; } }
public void InitiateCallbackEx(ICallbackReceiverPrx?proxy, Current current, CancellationToken cancel) { try { proxy !.CallbackEx(current.Context, cancel: cancel); } catch (RemoteException ex) { ex.ConvertToUnhandled = false; throw; } }
initiateCallbackEx(ICallbackReceiverPrx?proxy, Current current) { try { proxy !.callbackEx(current.Context); } catch (RemoteException ex) { ex.ConvertToUnhandled = false; throw; } }
public void InitiateCallback(ICallbackReceiverPrx?proxy, Current current) { Console.WriteLine($"initiating callback to: {proxy}"); try { proxy !.Callback(); } catch (Exception ex) { Console.Error.WriteLine(ex); } }
initiateCallbackEx(ICallbackReceiverPrx?proxy, Current current) => proxy !.callbackEx(current.Context);
initiateCallback(ICallbackReceiverPrx?proxy, Ice.Current current) => proxy !.callback(current.Context);
public void InitiateCallback(ICallbackReceiverPrx?proxy, Current current) => proxy !.Callback(current.Context);
public void InitiateCallback(ICallbackReceiverPrx?proxy, Current current, CancellationToken cancel) => proxy !.Callback(current.Context, cancel : cancel);