示例#1
0
文件: midax.cs 项目: JBetser/MiDax
 private Ice.AsyncResult<Midax.Callback_MidaxIce_stopsignals> begin_stopsignals(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
 {
     IceInternal.OnewayOutgoingAsync<Midax.Callback_MidaxIce_stopsignals> result__ = new IceInternal.OnewayOutgoingAsync<Midax.Callback_MidaxIce_stopsignals>(this, __stopsignals_name, stopsignals_completed__, cookie__);
     if(cb__ != null)
     {
         result__.whenCompletedWithAsyncCallback(cb__);
     }
     try
     {
         result__.prepare__(__stopsignals_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
         result__.writeEmptyParams__();
         result__.send__(true);
     }
     catch(Ice.LocalException ex__)
     {
         result__.exceptionAsync__(ex__);
     }
     return result__;
 }
示例#2
0
 private Ice.AsyncResult<R2D2.Callback_BaseToBot_shutdown> begin_shutdown(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
 {
     IceInternal.OnewayOutgoingAsync<R2D2.Callback_BaseToBot_shutdown> result__ = new IceInternal.OnewayOutgoingAsync<R2D2.Callback_BaseToBot_shutdown>(this, __shutdown_name, shutdown_completed__, cookie__);
     if(cb__ != null)
     {
         result__.whenCompletedWithAsyncCallback(cb__);
     }
     try
     {
         result__.prepare__(__shutdown_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
         result__.writeEmptyParams__();
         result__.send__(true);
     }
     catch(Ice.LocalException ex__)
     {
         result__.exceptionAsync__(ex__);
     }
     return result__;
 }
示例#3
0
        private AsyncResult<Callback_Object_ice_ping> begin_ice_ping(Dictionary<string, string> context__,
                                                                 bool explicitContext__,
                                                                 Ice.AsyncCallback cb__,
                                                                 object cookie__)
        {
            IceInternal.OnewayOutgoingAsync<Callback_Object_ice_ping> result__ =
                new IceInternal.OnewayOutgoingAsync<Callback_Object_ice_ping>(this, __ice_ping_name,
                                                                              ice_ping_completed__, cookie__);
            if(cb__ != null)
            {
                result__.whenCompletedWithAsyncCallback(cb__);
            }

            try
            {
                result__.prepare__(__ice_ping_name, OperationMode.Nonmutating, context__, explicitContext__);
                result__.writeEmptyParams__();
                result__.send__(true);
            }
            catch(Ice.LocalException ex__)
            {
                result__.exceptionAsync__(ex__);
            }
            return result__;
        }