private _System.Threading.Tasks.Task _iceI_initiateCallbackAsync(Demo.CallbackReceiverPrx iceP_proxy, string iceP_message, Ice.OptionalContext context, _System.IProgress <bool> progress, _System.Threading.CancellationToken cancel, bool synchronous) { var completed = new IceInternal.OperationTaskCompletionCallback <object>(progress, cancel); _iceI_initiateCallback(iceP_proxy, iceP_message, context, synchronous, completed); return(completed.Task); }
public void initiateCallback(Demo.CallbackReceiverPrx proxy, string message, Ice.OptionalContext context = new Ice.OptionalContext()) { try { _iceI_initiateCallbackAsync(proxy, message, context, null, _System.Threading.CancellationToken.None, true).Wait(); } catch (_System.AggregateException ex_) { throw ex_.InnerException; } }
private void _iceI_initiateCallback(Demo.CallbackReceiverPrx iceP_proxy, string iceP_message, _System.Collections.Generic.Dictionary <string, string> context, bool synchronous, IceInternal.OutgoingAsyncCompletionCallback completed) { var outAsync = getOutgoingAsync <object>(completed); outAsync.invoke( _initiateCallback_name, Ice.OperationMode.Normal, Ice.FormatType.DefaultFormat, context, synchronous, write: (Ice.OutputStream ostr) => { Demo.CallbackReceiverPrxHelper.write(ostr, iceP_proxy); ostr.writeString(iceP_message); }); }
private Ice.AsyncResult <Demo.Callback_CallbackSender_initiateCallback> begin_initiateCallback(Demo.CallbackReceiverPrx proxy, _System.Collections.Generic.Dictionary <string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__) { IceInternal.OnewayOutgoingAsync <Demo.Callback_CallbackSender_initiateCallback> result__ = getOnewayOutgoingAsync <Demo.Callback_CallbackSender_initiateCallback>(__initiateCallback_name, initiateCallback_completed__, cookie__); if (cb__ != null) { result__.whenCompletedWithAsyncCallback(cb__); } try { result__.prepare(__initiateCallback_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__); IceInternal.BasicStream os__ = result__.startWriteParams(Ice.FormatType.DefaultFormat); Demo.CallbackReceiverPrxHelper.write__(os__, proxy); result__.endWriteParams(); result__.invoke(); } catch (Ice.Exception ex__) { result__.abort(ex__); } return(result__); }
public Ice.AsyncResult begin_initiateCallback(Demo.CallbackReceiverPrx proxy, _System.Collections.Generic.Dictionary <string, string> ctx__, Ice.AsyncCallback cb__, object cookie__) { return(begin_initiateCallback(proxy, ctx__, true, false, cb__, cookie__)); }
public Ice.AsyncResult begin_initiateCallback(Demo.CallbackReceiverPrx proxy, Ice.AsyncCallback cb__, object cookie__) { return(begin_initiateCallback(proxy, null, false, false, cb__, cookie__)); }
public Ice.AsyncResult <Demo.Callback_CallbackSender_initiateCallback> begin_initiateCallback(Demo.CallbackReceiverPrx proxy, _System.Collections.Generic.Dictionary <string, string> ctx__) { return(begin_initiateCallback(proxy, ctx__, true, false, null, null)); }
public Ice.AsyncResult <Demo.Callback_CallbackSender_initiateCallback> begin_initiateCallback(Demo.CallbackReceiverPrx proxy) { return(begin_initiateCallback(proxy, null, false, false, null, null)); }
private void initiateCallback(Demo.CallbackReceiverPrx proxy, _System.Collections.Generic.Dictionary <string, string> context__, bool explicitCtx__) { end_initiateCallback(begin_initiateCallback(proxy, context__, explicitCtx__, true, null, null)); }
public _System.Threading.Tasks.Task initiateCallbackAsync(Demo.CallbackReceiverPrx proxy, string message, Ice.OptionalContext context = new Ice.OptionalContext(), _System.IProgress <bool> progress = null, _System.Threading.CancellationToken cancel = new _System.Threading.CancellationToken()) { return(_iceI_initiateCallbackAsync(proxy, message, context, progress, cancel, false)); }
public void initiateCallback(Demo.CallbackReceiverPrx proxy) { this.initiateCallback(proxy, null, false); }
public abstract void initiateCallback(Demo.CallbackReceiverPrx proxy, string message, Ice.Current current = null);
private Ice.AsyncResult <Demo.Callback_CallbackSender_initiateCallback> begin_initiateCallback(Demo.CallbackReceiverPrx iceP_proxy, string iceP_message, _System.Collections.Generic.Dictionary <string, string> context, Ice.AsyncCallback completedCallback, object cookie, bool synchronous) { var completed = new IceInternal.OperationAsyncResultCompletionCallback <Demo.Callback_CallbackSender_initiateCallback, object>( (Demo.Callback_CallbackSender_initiateCallback cb, object ret) => { if (cb != null) { cb.Invoke(); } }, this, _initiateCallback_name, cookie, completedCallback); _iceI_initiateCallback(iceP_proxy, iceP_message, context, synchronous, completed); return(completed); }
public Ice.AsyncResult begin_initiateCallback(Demo.CallbackReceiverPrx proxy, string message, Ice.OptionalContext context, Ice.AsyncCallback callback, object cookie) { return(begin_initiateCallback(proxy, message, context, callback, cookie, false)); }
public Ice.AsyncResult <Demo.Callback_CallbackSender_initiateCallback> begin_initiateCallback(Demo.CallbackReceiverPrx proxy, string message, Ice.OptionalContext context = new Ice.OptionalContext()) { return(begin_initiateCallback(proxy, message, context, null, null, false)); }
public void initiateCallback(Demo.CallbackReceiverPrx proxy) { initiateCallback(proxy, Ice.ObjectImpl.defaultCurrent); }
public abstract void initiateCallback(Demo.CallbackReceiverPrx proxy, Ice.Current current__);
public void initiateCallback(Demo.CallbackReceiverPrx proxy, _System.Collections.Generic.Dictionary <string, string> ctx__) { this.initiateCallback(proxy, ctx__, true); }