Example #1
0
 public PurgeSettings(PurgeSettings rhs) : base(rhs)
 {
     this.dayLimitValue       = rhs.dayLimitValue;
     this.pathIdValue         = rhs.pathIdValue;
     this.fileCheckModeValue  = rhs.fileCheckModeValue;
     this.startHourValue      = rhs.startHourValue;
     this.excludePathIdsValue = rhs.excludePathIdsValue;
 }
Example #2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            PurgeSettings obj  = (PurgeSettings)obj1;
            BOutputBin    bout = (BOutputBin)bout1;
            BBufferBin    bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.dayLimit);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.fileCheckMode);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.pathId);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.startHour);
            if (version >= 900000000000027L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bout.writeObj(obj.excludePathIds, false, EloixClient.IndexServer.BSerializer_181681714.instance);
            }
        }
Example #3
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin     bin = (BInputBin)bin1;
            PurgeSettings obj = (PurgeSettings)(obj1 != null ? obj1 : bin.onObjectCreated(new PurgeSettings()));

            base.read(obj, bin1, version);
            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.dayLimit = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.fileCheckMode = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.pathId = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.startHour = bbuf.getInt();
            if (version >= 900000000000027L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.excludePathIds = (IList <int>)bin.readObj(false, null);
            }

            return(obj);
        }