Esempio n. 1
0
        public virtual void onFileUploadBuildResponse(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.DocVersion dv, String fileName, EloixClient.IndexServer.HttpRequestInfo requestInfo, EloixClient.IndexServer.HttpResponseInfo responseInfo, BAsyncResult <Object> asyncResult)
        {
            BRequest_IXServerEvents_onFileUploadBuildResponse req = new BRequest_IXServerEvents_onFileUploadBuildResponse();

            req.ecValue           = ec;
            req.dvValue           = dv;
            req.fileNameValue     = fileName;
            req.requestInfoValue  = requestInfo;
            req.responseInfoValue = responseInfo;
            transport.sendMethod(req, asyncResult);
        }
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_IXServerEvents_onFileUploadBuildResponse obj = (BRequest_IXServerEvents_onFileUploadBuildResponse)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.fileNameValue);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.dvValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.ecValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.requestInfoValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.responseInfoValue, false, null);
        }
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_IXServerEvents_onFileUploadBuildResponse obj = (BRequest_IXServerEvents_onFileUploadBuildResponse)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_IXServerEvents_onFileUploadBuildResponse()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.fileNameValue = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.dvValue = (EloixClient.IndexServer.DocVersion)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.ecValue = (EloixClient.IndexServer.IXServerEventsContext)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.requestInfoValue = (EloixClient.IndexServer.HttpRequestInfo)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.responseInfoValue = (EloixClient.IndexServer.HttpResponseInfo)bin.readObj(false, null);

            return(obj);
        }