Exemple #1
0
 iceD_CheckAlive(Test obj, global::IceInternal.Incoming inS, global::Ice.Current current)
 {
     global::Ice.ObjectImpl.iceCheckMode(global::Ice.OperationMode.Normal, current.mode);
     inS.readEmptyParams();
     obj.CheckAlive(current);
     return(inS.setResult(inS.writeEmptyParams()));
 }
Exemple #2
0
        iceD_name(Node obj, global::IceInternal.Incoming inS, global::Ice.Current current)
        {
            global::Ice.ObjectImpl.iceCheckMode(global::Ice.OperationMode.Idempotent, current.mode);
            inS.readEmptyParams();
            var ret  = obj.name(current);
            var ostr = inS.startWriteParams();

            ostr.writeString(ret);
            inS.endWriteParams(ostr);
            return(inS.setResult(ostr));
        }
Exemple #3
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()));
        }
Exemple #4
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()));
        }
Exemple #5
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()));
        }
        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));
        }
Exemple #7
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));
            }
Exemple #8
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));
        }
Exemple #9
0
        iceD_PerformAction(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();
            var ret  = obj.PerformAction(iceP_operation, iceP_contentSizeMB, current);
            var ostr = inS.startWriteParams();

            OperationResult.ice_write(ostr, ret);
            inS.endWriteParams(ostr);
            return(inS.setResult(ostr));
        }