예제 #1
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));
        }
예제 #2
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));
        }
예제 #3
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));
            }
예제 #4
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));
        }
예제 #5
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));
        }