Example #1
0
        public virtual void onBeforeDeleteSord(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Sord parentSord, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.LockZ unlockZ, EloixClient.IndexServer.DeleteOptions delOpts, BAsyncResult <Object> asyncResult)
        {
            BRequest_IXServerEvents_onBeforeDeleteSord req = new BRequest_IXServerEvents_onBeforeDeleteSord();

            req.ecValue         = ec;
            req.parentSordValue = parentSord;
            req.sordValue       = sord;
            req.unlockZValue    = unlockZ;
            req.delOptsValue    = delOpts;
            transport.sendMethod(req, asyncResult);
        }
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_IXServerEvents_onBeforeDeleteSord obj = (BRequest_IXServerEvents_onBeforeDeleteSord)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.delOptsValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.ecValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.parentSordValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.sordValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.unlockZValue, false, null);
        }
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_IXServerEvents_onBeforeDeleteSord obj = (BRequest_IXServerEvents_onBeforeDeleteSord)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_IXServerEvents_onBeforeDeleteSord()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.delOptsValue = (EloixClient.IndexServer.DeleteOptions)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.parentSordValue = (EloixClient.IndexServer.Sord)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.sordValue = (EloixClient.IndexServer.Sord)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.unlockZValue = (EloixClient.IndexServer.LockZ)bin.readObj(false, null);

            return(obj);
        }