public void opVoidAsync(Action response, Action <Exception> exception, Ice.Current current) { test(current.mode == Ice.OperationMode.Normal); while (_opVoidThread != null) { _opVoidThread.Join(); _opVoidThread = null; } _opVoidThread = new Thread_opVoid(response); _opVoidThread.Start(); }
public void opVoid_async(Test.AMD_MyClass_opVoid cb, Ice.Current current) { test(current.mode == Ice.OperationMode.Normal); while (_opVoidThread != null) { _opVoidThread.Join(); _opVoidThread = null; } _opVoidThread = new Thread_opVoid(cb); _opVoidThread.Start(); }
public ValueTask opVoidAsync(Current current) { TestHelper.Assert(!current.IsIdempotent); while (_opVoidThread != null) { _opVoidThread.Join(); _opVoidThread = null; } _opVoidThread = new Thread_opVoid(); _opVoidThread.Start(); return(new ValueTask(_opVoidThread.Task)); }
public Task opVoidAsync(Ice.Current current) { test(current.mode == Ice.OperationMode.Normal); while (_opVoidThread != null) { _opVoidThread.Join(); _opVoidThread = null; } _opVoidThread = new Thread_opVoid(); _opVoidThread.Start(); return(_opVoidThread.Task); }
public override void opVoid_async(Test.AMD_MyClass_opVoid cb, Ice.Current current) { test(current.mode == Ice.OperationMode.Normal); while(_opVoidThread != null) { _opVoidThread.Join(); _opVoidThread = null; } _opVoidThread = new Thread_opVoid(cb); _opVoidThread.Start(); }