예제 #1
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin     bin = (BInputBin)bin1;
            UpdaterConfig obj = (UpdaterConfig)(obj1 != null ? obj1 : bin.onObjectCreated(new UpdaterConfig()));

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

            // checkpoint byps.gen.cs.PrintContext:449
            obj.intervalMinutes = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.ixid = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lastException = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.nextRunAt = bbuf.getDate();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.progressInPercent = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.status = (de.elo.ix.client.search.SearchIndexerStatus)bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.updateNewerThan = bbuf.getDate();
            if (version >= 1000000000000007L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.lockName = bbuf.getString();
            }

            return(obj);
        }
예제 #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = (BInputBin)bin1;
            BBufferBin bbuf = bin.bbuf;

            // lengths
            int n3 = bbuf.getLength();
            int n2 = bbuf.getLength();
            int n1 = bbuf.getLength();
            int n0 = bbuf.getLength();

            // create array
            DateTime[,,,] arr = new DateTime[n3, n2, n1, n0];
            bin.onObjectCreated(arr);

            // read
            for (int i3 = 0; i3 < n3; i3++)
            {
                for (int i2 = 0; i2 < n2; i2++)
                {
                    for (int i1 = 0; i1 < n1; i1++)
                    {
                        for (int i0 = 0; i0 < n0; i0++)
                        {
                            arr[i3, i2, i1, i0] = bbuf.getDate();
                        }
                    }
                }
            }

            return(arr);
        }
예제 #3
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_RemotePrimitiveTypes_setDate obj = (BRequest_RemotePrimitiveTypes_setDate)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemotePrimitiveTypes_setDate()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.vValue = bbuf.getDate();

            return(obj);
        }
예제 #4
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin  bin = (BInputBin)bin1;
            BResult_17 obj = (BResult_17)(obj1 != null ? obj1 : bin.onObjectCreated(new BResult_17()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.resultValue = bbuf.getDate();

            return(obj);
        }
예제 #5
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin          bin  = ((BInputBin)bin1);
            BBufferBin         bbuf = bin.bbuf;
            int                n    = bbuf.getLength();
            HashSet <DateTime> arr  = new HashSet <DateTime>();

            bin.onObjectCreated(arr);
            for (int i = 0; i < n; i++)
            {
                DateTime obj = bbuf.getDate();
                arr.Add(obj);
            }
            return(arr);
        }
예제 #6
0
        public override Object read(object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = ((BInputBin)bin1);
            BBufferBin bbuf = bin.bbuf;
            Dictionary <String, DateTime> map = new Dictionary <String, DateTime>();

            bin.onObjectCreated(map);
            int n = bbuf.getLength();

            for (int i = 0; i < n; i++)
            {
                String   key   = bbuf.getString();
                DateTime value = bbuf.getDate();
                map[key] = value;
            }
            return(map);
        }
예제 #7
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = (BInputBin)bin1;
            BBufferBin bbuf = bin.bbuf;

            // lengths
            int n0 = bbuf.getLength();

            // create array
            DateTime[] arr = new DateTime[n0];
            bin.onObjectCreated(arr);

            // read
            for (int i0 = 0; i0 < n0; i0++)
            {
                arr[i0] = bbuf.getDate();
            }

            return(arr);
        }
예제 #8
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin      bin = (BInputBin)bin1;
            PrimitiveTypes obj = (PrimitiveTypes)(obj1 != null ? obj1 : bin.onObjectCreated(new PrimitiveTypes()));

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

            // checkpoint byps.gen.cs.PrintContext:449
            obj.BoolVal = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.ByteVal = bbuf.getByte();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.CharVal = bbuf.getChar();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.DateVal = bbuf.getDate();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.DeferredValue = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.DoubleVal = bbuf.getDouble();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.FloatVal = bbuf.getFloat();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.IntVal = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.LongVal = bbuf.getLong();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.ShortVal = bbuf.getShort();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.StringVal = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Value = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.ObjVal = (Object)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.ObjVal2 = (Object)bin.readObj(false, null);

            return(obj);
        }
예제 #9
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            FileInfo  obj = (FileInfo)(obj1 != null ? obj1 : bin.onObjectCreated(new FileInfo()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.Directory = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.LastModified = bbuf.getDate();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Name = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Readonly = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Size = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.SizeL = bbuf.getLong();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Icon = (byte[])bin.readObj(false, com.wilutions.jsfs.BSerializer_1374008726.instance);

            return(obj);
        }