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

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

            // checkpoint byps.gen.cs.PrintContext:449
            obj.nodeName = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.userId = bbuf.getString();
            if (version >= 900000016000009L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.timeLimit = bbuf.getInt();
                // checkpoint byps.gen.cs.PrintContext:449
                obj.timeLimitIso = bbuf.getString();
                if (version >= 900000016000013L)
                {
                    // checkpoint byps.gen.cs.PrintContext:449
                    obj.flags = bbuf.getInt();
                }
            }
            if (version >= 900000016000009L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.timeLimitEscalations = (EloixClient.IndexServer.WFTimeLimit[])bin.readObj(false, EloixClient.IndexServer.BSerializer_1495941578.instance);
            }

            return(obj);
        }
예제 #2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            UserNodeInfo obj  = (UserNodeInfo)obj1;
            BOutputBin   bout = (BOutputBin)bout1;
            BBufferBin   bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.nodeName);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.userId);
            if (version >= 900000016000009L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.timeLimit);
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putString(obj.timeLimitIso);
                if (version >= 900000016000013L)
                {
                    // checkpoint byps.gen.cs.PrintContext:494
                    bbuf.putInt(obj.flags);
                }
            }
            if (version >= 900000016000009L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bout.writeObj(obj.timeLimitEscalations, false, EloixClient.IndexServer.BSerializer_1495941578.instance);
            }
        }
예제 #3
0
 public UserNodeInfo(UserNodeInfo rhs) : base(rhs)
 {
     this.nodeNameValue             = rhs.nodeNameValue;
     this.userIdValue               = rhs.userIdValue;
     this.timeLimitEscalationsValue = rhs.timeLimitEscalationsValue;
     this.timeLimitValue            = rhs.timeLimitValue;
     this.timeLimitIsoValue         = rhs.timeLimitIsoValue;
     this.flagsValue = rhs.flagsValue;
 }