Esempio n. 1
0
        private AsyncResult<Callback_Object_ice_id> begin_ice_id(Dictionary<string, string> context__,
                                                                    bool explicitContext__,
                                                                    Ice.AsyncCallback cb__,
                                                                    object cookie__)
        {
            IceInternal.TwowayOutgoingAsync<Callback_Object_ice_id> result__ =
                new IceInternal.TwowayOutgoingAsync<Callback_Object_ice_id>(this, __ice_id_name, ice_id_completed__,
                                                                            cookie__);
            if(cb__ != null)
            {
                result__.whenCompletedWithAsyncCallback(cb__);
            }
            checkAsyncTwowayOnly__(__ice_id_name);

            try
            {
                result__.prepare__(__ice_id_name, OperationMode.Nonmutating, context__, explicitContext__);
                result__.writeEmptyParams__();
                result__.send__(true);
            }
            catch(Ice.LocalException ex__)
            {
                result__.exceptionAsync__(ex__);
            }
            return result__;
        }
Esempio n. 2
0
 private Ice.AsyncResult<Midax.Callback_MidaxIce_ping> begin_ping(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
 {
     checkAsyncTwowayOnly__(__ping_name);
     IceInternal.TwowayOutgoingAsync<Midax.Callback_MidaxIce_ping> result__ =  new IceInternal.TwowayOutgoingAsync<Midax.Callback_MidaxIce_ping>(this, __ping_name, ping_completed__, cookie__);
     if(cb__ != null)
     {
         result__.whenCompletedWithAsyncCallback(cb__);
     }
     try
     {
         result__.prepare__(__ping_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
         result__.writeEmptyParams__();
         result__.send__(true);
     }
     catch(Ice.LocalException ex__)
     {
         result__.exceptionAsync__(ex__);
     }
     return result__;
 }
Esempio n. 3
0
 private Ice.AsyncResult<Bank.Callback_Account_getAccountNumber> begin_getAccountNumber(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
 {
     checkAsyncTwowayOnly__(__getAccountNumber_name);
     IceInternal.TwowayOutgoingAsync<Bank.Callback_Account_getAccountNumber> result__ =  new IceInternal.TwowayOutgoingAsync<Bank.Callback_Account_getAccountNumber>(this, __getAccountNumber_name, getAccountNumber_completed__, cookie__);
     if(cb__ != null)
     {
         result__.whenCompletedWithAsyncCallback(cb__);
     }
     try
     {
         result__.prepare__(__getAccountNumber_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
         result__.writeEmptyParams__();
         result__.send__(true);
     }
     catch(Ice.LocalException ex__)
     {
         result__.exceptionAsync__(ex__);
     }
     return result__;
 }