Exemplo n.º 1
0
        iceD_printString(Printer obj, global::IceInternal.Incoming inS, global::Ice.Current current)
        {
            global::Ice.ObjectImpl.iceCheckMode(global::Ice.OperationMode.Normal, current.mode);
            var    istr = inS.startReadParams();
            string iceP_s;

            iceP_s = istr.readString();
            inS.endReadParams();
            obj.printString(iceP_s, current);
            return(inS.setResult(inS.writeEmptyParams()));
        }
Exemplo n.º 2
0
        iceD_ConnectBack(PrinterPython obj, global::IceInternal.Incoming inS, global::Ice.Current current)
        {
            global::Ice.ObjectImpl.iceCheckMode(global::Ice.OperationMode.Normal, current.mode);
            var istr = inS.startReadParams();
            int iceP_port;

            iceP_port = istr.readInt();
            inS.endReadParams();
            obj.ConnectBack(iceP_port, current);
            return(inS.setResult(inS.writeEmptyParams()));
        }
Exemplo n.º 3
0
        iceD_SendMessageToServer(Test obj, global::IceInternal.Incoming inS, global::Ice.Current current)
        {
            global::Ice.ObjectImpl.iceCheckMode(global::Ice.OperationMode.Normal, current.mode);
            var    istr = inS.startReadParams();
            string iceP_msg;

            iceP_msg = istr.readString();
            inS.endReadParams();
            obj.SendMessageToServer(iceP_msg, current);
            return(inS.setResult(inS.writeEmptyParams()));
        }
Exemplo n.º 4
0
        iceD_SendMaterials(Manufacturer obj, global::IceInternal.Incoming inS, global::Ice.Current current)
        {
            global::Ice.ObjectImpl.iceCheckMode(global::Ice.OperationMode.Normal, current.mode);
            var istr = inS.startReadParams();

            global::System.Collections.Generic.List <string> iceP_materials;
            iceP_materials = MaterialsHelper.read(istr);
            inS.endReadParams();
            var ret  = obj.SendMaterials(iceP_materials, current);
            var ostr = inS.startWriteParams();

            ostr.writeBool(ret);
            inS.endWriteParams(ostr);
            return(inS.setResult(ostr));
        }
Exemplo n.º 5
0
            iceD_GetCompanyInfo(AStockService obj, global::IceInternal.Incoming inS, global::Ice.Current current)
            {
                global::Ice.ObjectImpl.iceCheckMode(global::Ice.OperationMode.Normal, current.mode);
                var istr = inS.startReadParams();
                int iceP_id;

                iceP_id = istr.readInt();
                inS.endReadParams();
                var ret  = obj.GetCompanyInfo(iceP_id, current);
                var ostr = inS.startWriteParams();

                ostr.writeValue(ret);
                ostr.writePendingValues();
                inS.endWriteParams(ostr);
                return(inS.setResult(ostr));
            }
Exemplo n.º 6
0
        iceD_PerformActionEx(Worker obj, global::IceInternal.Incoming inS, global::Ice.Current current)
        {
            global::Ice.ObjectImpl.iceCheckMode(global::Ice.OperationMode.Normal, current.mode);
            var           istr = inS.startReadParams();
            OperationType iceP_operation;
            int           iceP_contentSizeMB;

            iceP_operation     = (OperationType)istr.readEnum(4);
            iceP_contentSizeMB = istr.readInt();
            inS.endReadParams();
            return(inS.setResultTask <OperationResult>(obj.PerformActionExAsync(iceP_operation, iceP_contentSizeMB, current),
                                                       (ostr, ret) =>
            {
                OperationResult.ice_write(ostr, ret);
            }));
        }
Exemplo n.º 7
0
        iceD_op(Printer obj, global::IceInternal.Incoming inS, global::Ice.Current current)
        {
            global::Ice.ObjectImpl.iceCheckMode(global::Ice.OperationMode.Normal, current.mode);
            var    istr = inS.startReadParams();
            string iceP_sin;

            iceP_sin = istr.readString();
            inS.endReadParams();
            string iceP_sout;
            var    ret  = obj.op(iceP_sin, out iceP_sout, current);
            var    ostr = inS.startWriteParams();

            ostr.writeString(iceP_sout);
            ostr.writeString(ret);
            inS.endWriteParams(ostr);
            return(inS.setResult(ostr));
        }