示例#1
0
 private Ice.AsyncResult <Demo.Callback_CallbackSender_shutdown> begin_shutdown(_System.Collections.Generic.Dictionary <string, string> ctx__, bool explicitContext__, bool synchronous__, Ice.AsyncCallback cb__, object cookie__)
 {
     IceInternal.OnewayOutgoingAsync <Demo.Callback_CallbackSender_shutdown> result__ = getOnewayOutgoingAsync <Demo.Callback_CallbackSender_shutdown>(__shutdown_name, shutdown_completed__, cookie__);
     if (cb__ != null)
     {
         result__.whenCompletedWithAsyncCallback(cb__);
     }
     try
     {
         result__.prepare(__shutdown_name, Ice.OperationMode.Normal, ctx__, explicitContext__, synchronous__);
         result__.writeEmptyParams();
         result__.invoke();
     }
     catch (Ice.Exception ex__)
     {
         result__.abort(ex__);
     }
     return(result__);
 }