Example #1
0
        public virtual void onBeforeCheckinActivity(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Activity act, bool isNew, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.LockZ unlockZ, BAsyncResult <Object> asyncResult)
        {
            BRequest_IXServerEvents_onBeforeCheckinActivity req = new BRequest_IXServerEvents_onBeforeCheckinActivity();

            req.ecValue      = ec;
            req.actValue     = act;
            req.isNewValue   = isNew;
            req.sordValue    = sord;
            req.sordZValue   = sordZ;
            req.unlockZValue = unlockZ;
            transport.sendMethod(req, asyncResult);
        }
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_IXServerEvents_onBeforeCheckinActivity obj = (BRequest_IXServerEvents_onBeforeCheckinActivity)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.isNewValue);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.actValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.ecValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.sordValue, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.sordZValue, 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_onBeforeCheckinActivity obj = (BRequest_IXServerEvents_onBeforeCheckinActivity)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_IXServerEvents_onBeforeCheckinActivity()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.isNewValue = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.actValue = (EloixClient.IndexServer.Activity)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.sordValue = (EloixClient.IndexServer.Sord)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.sordZValue = (EloixClient.IndexServer.SordZ)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.unlockZValue = (EloixClient.IndexServer.LockZ)bin.readObj(false, null);

            return(obj);
        }