Beispiel #1
0
        private void _iceI_op(string iceP_sin, global::System.Collections.Generic.Dictionary <string, string> context, bool synchronous, global::IceInternal.OutgoingAsyncCompletionCallback completed)
        {
            var outAsync = getOutgoingAsync <Printer_OpResult>(completed);

            outAsync.invoke(
                _op_name,
                global::Ice.OperationMode.Normal,
                global::Ice.FormatType.DefaultFormat,
                context,
                synchronous,
                write: (global::Ice.OutputStream ostr) =>
            {
                ostr.writeString(iceP_sin);
            },
                read: (global::Ice.InputStream istr) =>
            {
                Printer_OpResult ret = new Printer_OpResult();
                ret.sout             = istr.readString();
                ret.returnValue      = istr.readString();
                return(ret);
            });
        }
Beispiel #2
0
        private void _iceI_name(global::System.Collections.Generic.Dictionary <string, string> context, bool synchronous, global::IceInternal.OutgoingAsyncCompletionCallback completed)
        {
            var outAsync = getOutgoingAsync <string>(completed);

            outAsync.invoke(
                _name_name,
                global::Ice.OperationMode.Idempotent,
                global::Ice.FormatType.DefaultFormat,
                context,
                synchronous,
                read: (global::Ice.InputStream istr) =>
            {
                string ret;
                ret = istr.readString();
                return(ret);
            });
        }
Beispiel #3
0
        private void _iceI_printString(string iceP_s, global::System.Collections.Generic.Dictionary <string, string> context, bool synchronous, global::IceInternal.OutgoingAsyncCompletionCallback completed)
        {
            var outAsync = getOutgoingAsync <object>(completed);

            outAsync.invoke(
                _printString_name,
                global::Ice.OperationMode.Normal,
                global::Ice.FormatType.DefaultFormat,
                context,
                synchronous,
                write: (global::Ice.OutputStream ostr) =>
            {
                ostr.writeString(iceP_s);
            });
        }
Beispiel #4
0
            private void _iceI_GetCompanyInfo(int iceP_id, global::System.Collections.Generic.Dictionary <string, string> context, bool synchronous, global::IceInternal.OutgoingAsyncCompletionCallback completed)
            {
                var outAsync = getOutgoingAsync <CompanyInfo>(completed);

                outAsync.invoke(
                    _GetCompanyInfo_name,
                    global::Ice.OperationMode.Normal,
                    global::Ice.FormatType.DefaultFormat,
                    context,
                    synchronous,
                    write: (global::Ice.OutputStream ostr) =>
                {
                    ostr.writeInt(iceP_id);
                },
                    read: (global::Ice.InputStream istr) =>
                {
                    CompanyInfo ret = null;
                    istr.readValue((CompanyInfo v) => { ret = v; });
                    istr.readPendingValues();
                    return(ret);
                });
            }
Beispiel #5
0
        private void _iceI_PerformActionEx(OperationType iceP_operation, int iceP_contentSizeMB, global::System.Collections.Generic.Dictionary <string, string> context, bool synchronous, global::IceInternal.OutgoingAsyncCompletionCallback completed)
        {
            var outAsync = getOutgoingAsync <OperationResult>(completed);

            outAsync.invoke(
                _PerformActionEx_name,
                global::Ice.OperationMode.Normal,
                global::Ice.FormatType.DefaultFormat,
                context,
                synchronous,
                write: (global::Ice.OutputStream ostr) =>
            {
                ostr.writeEnum((int)iceP_operation, 4);
                ostr.writeInt(iceP_contentSizeMB);
            },
                read: (global::Ice.InputStream istr) =>
            {
                OperationResult ret = null;
                ret = OperationResult.ice_read(istr);
                return(ret);
            });
        }
Beispiel #6
0
        private void _iceI_CheckAlive(global::System.Collections.Generic.Dictionary <string, string> context, bool synchronous, global::IceInternal.OutgoingAsyncCompletionCallback completed)
        {
            var outAsync = getOutgoingAsync <object>(completed);

            outAsync.invoke(
                _CheckAlive_name,
                global::Ice.OperationMode.Normal,
                global::Ice.FormatType.DefaultFormat,
                context,
                synchronous);
        }
Beispiel #7
0
        private void _iceI_SendMaterials(global::System.Collections.Generic.List <string> iceP_materials, global::System.Collections.Generic.Dictionary <string, string> context, bool synchronous, global::IceInternal.OutgoingAsyncCompletionCallback completed)
        {
            var outAsync = getOutgoingAsync <bool>(completed);

            outAsync.invoke(
                _SendMaterials_name,
                global::Ice.OperationMode.Normal,
                global::Ice.FormatType.DefaultFormat,
                context,
                synchronous,
                write: (global::Ice.OutputStream ostr) =>
            {
                MaterialsHelper.write(ostr, iceP_materials);
            },
                read: (global::Ice.InputStream istr) =>
            {
                bool ret;
                ret = istr.readBool();
                return(ret);
            });
        }