Пример #1
0
        private global::Ice.AsyncResult <Callback_Printer_printString> begin_printString(string iceP_s, global::System.Collections.Generic.Dictionary <string, string> context, global::Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
        {
            var completed = new global::IceInternal.OperationAsyncResultCompletionCallback <Callback_Printer_printString, object>(
                (Callback_Printer_printString cb, object ret) =>
            {
                if (cb != null)
                {
                    cb.Invoke();
                }
            },
                this, _printString_name, cookie, completedCallback);

            _iceI_printString(iceP_s, context, synchronous, completed);
            return(completed);
        }
Пример #2
0
        private global::Ice.AsyncResult <Callback_TestCallBack_CheckAlive> begin_CheckAlive(global::System.Collections.Generic.Dictionary <string, string> context, global::Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
        {
            var completed = new global::IceInternal.OperationAsyncResultCompletionCallback <Callback_TestCallBack_CheckAlive, object>(
                (Callback_TestCallBack_CheckAlive cb, object ret) =>
            {
                if (cb != null)
                {
                    cb.Invoke();
                }
            },
                this, _CheckAlive_name, cookie, completedCallback);

            _iceI_CheckAlive(context, synchronous, completed);
            return(completed);
        }
Пример #3
0
        private global::Ice.AsyncResult <Callback_TestCallBack_SendMessageToClient> begin_SendMessageToClient(string iceP_msg, global::System.Collections.Generic.Dictionary <string, string> context, global::Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
        {
            var completed = new global::IceInternal.OperationAsyncResultCompletionCallback <Callback_TestCallBack_SendMessageToClient, object>(
                (Callback_TestCallBack_SendMessageToClient cb, object ret) =>
            {
                if (cb != null)
                {
                    cb.Invoke();
                }
            },
                this, _SendMessageToClient_name, cookie, completedCallback);

            _iceI_SendMessageToClient(iceP_msg, context, synchronous, completed);
            return(completed);
        }
Пример #4
0
        private global::Ice.AsyncResult <Callback_Node_name> begin_name(global::System.Collections.Generic.Dictionary <string, string> context, global::Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
        {
            iceCheckAsyncTwowayOnly(_name_name);
            var completed = new global::IceInternal.OperationAsyncResultCompletionCallback <Callback_Node_name, string>(
                (Callback_Node_name cb, string ret) =>
            {
                if (cb != null)
                {
                    cb.Invoke(ret);
                }
            },
                this, _name_name, cookie, completedCallback);

            _iceI_name(context, synchronous, completed);
            return(completed);
        }
Пример #5
0
        private global::Ice.AsyncResult <Callback_Printer_op> begin_op(string iceP_sin, global::System.Collections.Generic.Dictionary <string, string> context, global::Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
        {
            iceCheckAsyncTwowayOnly(_op_name);
            var completed = new global::IceInternal.OperationAsyncResultCompletionCallback <Callback_Printer_op, Printer_OpResult>(
                (Callback_Printer_op cb, Printer_OpResult ret) =>
            {
                if (cb != null)
                {
                    cb.Invoke(ret.returnValue, ret.sout);
                }
            },
                this, _op_name, cookie, completedCallback);

            _iceI_op(iceP_sin, context, synchronous, completed);
            return(completed);
        }
Пример #6
0
            private global::Ice.AsyncResult <Callback_AStockService_GetCompanyInfo> begin_GetCompanyInfo(int iceP_id, global::System.Collections.Generic.Dictionary <string, string> context, global::Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
            {
                iceCheckAsyncTwowayOnly(_GetCompanyInfo_name);
                var completed = new global::IceInternal.OperationAsyncResultCompletionCallback <Callback_AStockService_GetCompanyInfo, CompanyInfo>(
                    (Callback_AStockService_GetCompanyInfo cb, CompanyInfo ret) =>
                {
                    if (cb != null)
                    {
                        cb.Invoke(ret);
                    }
                },
                    this, _GetCompanyInfo_name, cookie, completedCallback);

                _iceI_GetCompanyInfo(iceP_id, context, synchronous, completed);
                return(completed);
            }
Пример #7
0
        private global::Ice.AsyncResult <Callback_Worker_PerformActionEx> begin_PerformActionEx(OperationType iceP_operation, int iceP_contentSizeMB, global::System.Collections.Generic.Dictionary <string, string> context, global::Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
        {
            iceCheckAsyncTwowayOnly(_PerformActionEx_name);
            var completed = new global::IceInternal.OperationAsyncResultCompletionCallback <Callback_Worker_PerformActionEx, OperationResult>(
                (Callback_Worker_PerformActionEx cb, OperationResult ret) =>
            {
                if (cb != null)
                {
                    cb.Invoke(ret);
                }
            },
                this, _PerformActionEx_name, cookie, completedCallback);

            _iceI_PerformActionEx(iceP_operation, iceP_contentSizeMB, context, synchronous, completed);
            return(completed);
        }
Пример #8
0
        private global::Ice.AsyncResult <Callback_Manufacturer_SendMaterials> begin_SendMaterials(global::System.Collections.Generic.List <string> iceP_materials, global::System.Collections.Generic.Dictionary <string, string> context, global::Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
        {
            iceCheckAsyncTwowayOnly(_SendMaterials_name);
            var completed = new global::IceInternal.OperationAsyncResultCompletionCallback <Callback_Manufacturer_SendMaterials, bool>(
                (Callback_Manufacturer_SendMaterials cb, bool ret) =>
            {
                if (cb != null)
                {
                    cb.Invoke(ret);
                }
            },
                this, _SendMaterials_name, cookie, completedCallback);

            _iceI_SendMaterials(iceP_materials, context, synchronous, completed);
            return(completed);
        }