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)); }
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); }); }