Exemplo n.º 1
0
 public void Deserialize(IInputArchive a_, string tag)
 {
     a_.StartRecord(tag);
     this.Stat = new Stat();
     a_.ReadRecord((IRecord)this.Stat, "stat");
     a_.EndRecord(tag);
 }
Exemplo n.º 2
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    Perms=a_.ReadInt("perms");
    Id= new Org.Apache.Zookeeper.Data.ZKId();
    a_.ReadRecord(Id,"id");
    a_.EndRecord(tag);
}
Exemplo n.º 3
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    Data=a_.ReadBuffer("data");
    Stat= new Org.Apache.Zookeeper.Data.Stat();
    a_.ReadRecord(Stat,"stat");
    a_.EndRecord(tag);
}
Exemplo n.º 4
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Path = a_.ReadString("path");
     Data = a_.ReadBuffer("data");
     {
         IIndex vidx1 = a_.StartVector("acl");
         if (vidx1 != null)
         {
             var tmpLst = new System.Collections.Generic.List <Org.Apache.Zookeeper.Data.ACL>();
             for (; !vidx1.Done(); vidx1.Incr())
             {
                 Org.Apache.Zookeeper.Data.ACL e1;
                 e1 = new Org.Apache.Zookeeper.Data.ACL();
                 a_.ReadRecord(e1, "e1");
                 tmpLst.Add(e1);
             }
             Acl = tmpLst;
         }
         a_.EndVector("acl");
     }
     Ephemeral      = a_.ReadBool("ephemeral");
     ParentCVersion = a_.ReadInt("parentCVersion");
     a_.EndRecord(tag);
 }
Exemplo n.º 5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="a_"></param>
 /// <param name="tag"></param>
 public void Deserialize(IInputArchive a_, string tag)
 {
     a_.StartRecord(tag);
     Stat = new Data.Stat();
     a_.ReadRecord(Stat, "stat");
     a_.EndRecord(tag);
 }
Exemplo n.º 6
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Stat = new Org.Apache.Zookeeper.Data.Stat();
     a_.ReadRecord(Stat, "stat");
     a_.EndRecord(tag);
 }
Exemplo n.º 7
0
 public void Deserialize(IInputArchive a_, string tag)
 {
     a_.StartRecord(tag);
     this.Perms = a_.ReadInt("perms");
     this.Id    = new ZKId();
     a_.ReadRecord((IRecord)this.Id, "id");
     a_.EndRecord(tag);
 }
Exemplo n.º 8
0
 public void Deserialize(IInputArchive a_, string tag)
 {
     a_.StartRecord(tag);
     this.Data = a_.ReadBuffer("data");
     this.Stat = new Org.Apache.Zookeeper.Data.Stat();
     a_.ReadRecord(this.Stat, "stat");
     a_.EndRecord(tag);
 }
Exemplo n.º 9
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Perms = a_.ReadInt("perms");
     Id    = new ZKId();
     a_.ReadRecord(Id, "id");
     a_.EndRecord(tag);
 }
Exemplo n.º 10
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Data = a_.ReadBuffer("data");
     Stat = new Stat();
     a_.ReadRecord(Stat, "stat");
     a_.EndRecord(tag);
 }
Exemplo n.º 11
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    {
      IIndex vidx1 = a_.StartVector("acl");
      if (vidx1!= null) {          var tmpLst=new System.Collections.Generic.List<Org.Apache.Zookeeper.Data.ACL>();
          for (; !vidx1.Done(); vidx1.Incr()) {
    Org.Apache.Zookeeper.Data.ACL e1;
    e1= new Org.Apache.Zookeeper.Data.ACL();
    a_.ReadRecord(e1,"e1");
            tmpLst.Add(e1);
          }
            Acl=tmpLst;
      }
    a_.EndVector("acl");
    }
    Stat= new Org.Apache.Zookeeper.Data.Stat();
    a_.ReadRecord(Stat,"stat");
    a_.EndRecord(tag);
}
Exemplo n.º 12
0
        public void Deserialize(IInputArchive a_, String tag)
        {
            a_.StartRecord(tag);
#warning code here
            //Remark = a_.ReadBuffer("remark");
            Remark = a_.ReadBuffer("data");
            Stat   = new Org.Apache.Zookeeper.Data.Stat();
            a_.ReadRecord(Stat, "stat");
            a_.EndRecord(tag);
        }
Exemplo n.º 13
0
        public void Deserialize(IInputArchive a_, string tag)
        {
            a_.StartRecord(tag);
            IIndex index = a_.StartVector("acl");

            if (index != null)
            {
                List <ACL> aclList = new List <ACL>();
                while (!index.Done())
                {
                    ACL acl = new ACL();
                    a_.ReadRecord((IRecord)acl, "e1");
                    aclList.Add(acl);
                    index.Incr();
                }
                this.Acl = (IEnumerable <ACL>)aclList;
            }
            a_.EndVector("acl");
            this.Stat = new Stat();
            a_.ReadRecord((IRecord)this.Stat, "stat");
            a_.EndRecord(tag);
        }
Exemplo n.º 14
0
        public void Deserialize(IInputArchive a_, string tag)
        {
            a_.StartRecord(tag);
            IIndex index = a_.StartVector("acl");

            if (index != null)
            {
                List <ACL> list = new List <ACL>();
                while (!index.Done())
                {
                    ACL r = new ACL();
                    a_.ReadRecord(r, "e1");
                    list.Add(r);
                    index.Incr();
                }
                this.Acl = list;
            }
            a_.EndVector("acl");
            this.Stat = new Org.Apache.Zookeeper.Data.Stat();
            a_.ReadRecord(this.Stat, "stat");
            a_.EndRecord(tag);
        }
Exemplo n.º 15
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     {
         IIndex vidx1 = a_.StartVector("acl");
         if (vidx1 != null)
         {
             var tmpLst = new System.Collections.Generic.List <ACL>();
             for (; !vidx1.Done(); vidx1.Incr())
             {
                 ACL e1;
                 e1 = new ACL();
                 a_.ReadRecord(e1, "e1");
                 tmpLst.Add(e1);
             }
             Acl = tmpLst;
         }
         a_.EndVector("acl");
     }
     Stat = new Stat();
     a_.ReadRecord(Stat, "stat");
     a_.EndRecord(tag);
 }
Exemplo n.º 16
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    {
      IIndex vidx1 = a_.StartVector("txns");
      if (vidx1!= null) {          var tmpLst=new System.Collections.Generic.List<Org.Apache.Zookeeper.Txn.Txn>();
          for (; !vidx1.Done(); vidx1.Incr()) {
    Org.Apache.Zookeeper.Txn.Txn e1;
    e1= new Org.Apache.Zookeeper.Txn.Txn();
    a_.ReadRecord(e1,"e1");
            tmpLst.Add(e1);
          }
            Txns=tmpLst;
      }
    a_.EndVector("txns");
    }
    a_.EndRecord(tag);
}
Exemplo n.º 17
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    Type=a_.ReadInt("type");
    Zxid=a_.ReadLong("zxid");
    Data=a_.ReadBuffer("data");
    {
      IIndex vidx1 = a_.StartVector("authinfo");
      if (vidx1!= null) {          var tmpLst=new System.Collections.Generic.List<Org.Apache.Zookeeper.Data.ZKId>();
          for (; !vidx1.Done(); vidx1.Incr()) {
    Org.Apache.Zookeeper.Data.ZKId e1;
    e1= new Org.Apache.Zookeeper.Data.ZKId();
    a_.ReadRecord(e1,"e1");
            tmpLst.Add(e1);
          }
            Authinfo=tmpLst;
      }
    a_.EndVector("authinfo");
    }
    a_.EndRecord(tag);
}
Exemplo n.º 18
0
        public void Deserialize(IInputArchive a_, string tag)
        {
            a_.StartRecord(tag);
            IIndex index = a_.StartVector("txns");

            if (index != null)
            {
                List <Org.Apache.Zookeeper.Txn.Txn> list = new List <Org.Apache.Zookeeper.Txn.Txn>();
                while (!index.Done())
                {
                    Org.Apache.Zookeeper.Txn.Txn r = new Org.Apache.Zookeeper.Txn.Txn();
                    a_.ReadRecord(r, "e1");
                    list.Add(r);
                    index.Incr();
                }
                this.Txns = list;
            }
            a_.EndVector("txns");
            a_.EndRecord(tag);
        }
Exemplo n.º 19
0
        public void Deserialize(IInputArchive a_, string tag)
        {
            a_.StartRecord(tag);
            IIndex index = a_.StartVector("txns");

            if (index != null)
            {
                List <Org.Apache.Zookeeper.Txn.Txn> txnList = new List <Org.Apache.Zookeeper.Txn.Txn>();
                while (!index.Done())
                {
                    Org.Apache.Zookeeper.Txn.Txn txn = new Org.Apache.Zookeeper.Txn.Txn();
                    a_.ReadRecord((IRecord)txn, "e1");
                    txnList.Add(txn);
                    index.Incr();
                }
                this.Txns = (IEnumerable <Org.Apache.Zookeeper.Txn.Txn>)txnList;
            }
            a_.EndVector("txns");
            a_.EndRecord(tag);
        }
Exemplo n.º 20
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    Path=a_.ReadString("path");
    Data=a_.ReadBuffer("data");
    {
      IIndex vidx1 = a_.StartVector("acl");
      if (vidx1!= null) {          var tmpLst=new System.Collections.Generic.List<Org.Apache.Zookeeper.Data.ACL>();
          for (; !vidx1.Done(); vidx1.Incr()) {
    Org.Apache.Zookeeper.Data.ACL e1;
    e1= new Org.Apache.Zookeeper.Data.ACL();
    a_.ReadRecord(e1,"e1");
            tmpLst.Add(e1);
          }
            Acl=tmpLst;
      }
    a_.EndVector("acl");
    }
    Ephemeral=a_.ReadBool("ephemeral");
    a_.EndRecord(tag);
}
Exemplo n.º 21
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     {
         IIndex vidx1 = a_.StartVector("txns");
         if (vidx1 != null)
         {
             var tmpLst = new System.Collections.Generic.List <Org.Apache.Zookeeper.Txn.Txn>();
             for (; !vidx1.Done(); vidx1.Incr())
             {
                 Org.Apache.Zookeeper.Txn.Txn e1;
                 e1 = new Org.Apache.Zookeeper.Txn.Txn();
                 a_.ReadRecord(e1, "e1");
                 tmpLst.Add(e1);
             }
             Txns = tmpLst;
         }
         a_.EndVector("txns");
     }
     a_.EndRecord(tag);
 }
Exemplo n.º 22
0
        public void Deserialize(IInputArchive a_, string tag)
        {
            a_.StartRecord(tag);
            IIndex index = a_.StartVector("children");

            if (index != null)
            {
                List <string> list = new List <string>();
                while (!index.Done())
                {
                    string item = a_.ReadString("e1");
                    list.Add(item);
                    index.Incr();
                }
                this.Children = list;
            }
            a_.EndVector("children");
            this.Stat = new Org.Apache.Zookeeper.Data.Stat();
            a_.ReadRecord(this.Stat, "stat");
            a_.EndRecord(tag);
        }
Exemplo n.º 23
0
        public void Deserialize(IInputArchive a_, string tag)
        {
            a_.StartRecord(tag);
            IIndex index = a_.StartVector("children");

            if (index != null)
            {
                List <string> stringList = new List <string>();
                while (!index.Done())
                {
                    string str = a_.ReadString("e1");
                    stringList.Add(str);
                    index.Incr();
                }
                this.Children = (IEnumerable <string>)stringList;
            }
            a_.EndVector("children");
            this.Stat = new Stat();
            a_.ReadRecord((IRecord)this.Stat, "stat");
            a_.EndRecord(tag);
        }
Exemplo n.º 24
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     {
         IIndex vidx1 = a_.StartVector("children");
         if (vidx1 != null)
         {
             var tmpLst = new System.Collections.Generic.List <string>();
             for (; !vidx1.Done(); vidx1.Incr())
             {
                 String e1;
                 e1 = a_.ReadString("e1");
                 tmpLst.Add(e1);
             }
             Children = tmpLst;
         }
         a_.EndVector("children");
     }
     Stat = new Org.Apache.Zookeeper.Data.Stat();
     a_.ReadRecord(Stat, "stat");
     a_.EndRecord(tag);
 }
Exemplo n.º 25
0
        public void Deserialize(IInputArchive a_, string tag)
        {
            a_.StartRecord(tag);
            this.Path = a_.ReadString("path");
            IIndex index = a_.StartVector("acl");

            if (index != null)
            {
                List <ACL> list = new List <ACL>();
                while (!index.Done())
                {
                    ACL r = new ACL();
                    a_.ReadRecord(r, "e1");
                    list.Add(r);
                    index.Incr();
                }
                this.Acl = list;
            }
            a_.EndVector("acl");
            this.Version = a_.ReadInt("version");
            a_.EndRecord(tag);
        }
Exemplo n.º 26
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="a_"></param>
 /// <param name="tag"></param>
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Path = a_.ReadString("path");
     {
         IIndex vidx1 = a_.StartVector("acl");
         if (vidx1 != null)
         {
             var tmpLst = new System.Collections.Generic.List <Data.ACL>();
             for (; !vidx1.Done(); vidx1.Incr())
             {
                 Data.ACL e1;
                 e1 = new Data.ACL();
                 a_.ReadRecord(e1, "e1");
                 tmpLst.Add(e1);
             }
             Acl = tmpLst;
         }
         a_.EndVector("acl");
     }
     Version = a_.ReadInt("version");
     a_.EndRecord(tag);
 }
Exemplo n.º 27
0
        public void Deserialize(IInputArchive a_, string tag)
        {
            a_.StartRecord(tag);
            this.Type = a_.ReadInt("type");
            this.Zxid = a_.ReadLong("zxid");
            this.Data = a_.ReadBuffer("data");
            IIndex index = a_.StartVector("authinfo");

            if (index != null)
            {
                List <ZKId> zkIdList = new List <ZKId>();
                while (!index.Done())
                {
                    ZKId zkId = new ZKId();
                    a_.ReadRecord((IRecord)zkId, "e1");
                    zkIdList.Add(zkId);
                    index.Incr();
                }
                this.Authinfo = (IEnumerable <ZKId>)zkIdList;
            }
            a_.EndVector("authinfo");
            a_.EndRecord(tag);
        }
Exemplo n.º 28
0
        public void Deserialize(IInputArchive a_, string tag)
        {
            a_.StartRecord(tag);
            this.Path = a_.ReadString("path");
            this.Data = a_.ReadBuffer("data");
            IIndex index = a_.StartVector("acl");

            if (index != null)
            {
                List <ACL> aclList = new List <ACL>();
                while (!index.Done())
                {
                    ACL acl = new ACL();
                    a_.ReadRecord((IRecord)acl, "e1");
                    aclList.Add(acl);
                    index.Incr();
                }
                this.Acl = (IEnumerable <ACL>)aclList;
            }
            a_.EndVector("acl");
            this.Flags = a_.ReadInt("flags");
            a_.EndRecord(tag);
        }
Exemplo n.º 29
0
        public void Deserialize(IInputArchive a_, string tag)
        {
            a_.StartRecord(tag);
            this.Path = a_.ReadString("path");
            this.Data = a_.ReadBuffer("data");
            IIndex index = a_.StartVector("acl");

            if (index != null)
            {
                List <ACL> list = new List <ACL>();
                while (!index.Done())
                {
                    ACL r = new ACL();
                    a_.ReadRecord(r, "e1");
                    list.Add(r);
                    index.Incr();
                }
                this.Acl = list;
            }
            a_.EndVector("acl");
            this.Ephemeral = a_.ReadBool("ephemeral");
            a_.EndRecord(tag);
        }
Exemplo n.º 30
0
 public void Deserialize(IInputArchive a_, string tag)
 {
     a_.StartRecord(tag);
     Path = a_.ReadString("path");
     Data = a_.ReadBuffer("data");
     {
         IIndex vidx1 = a_.StartVector("acl");
         if (vidx1 != null)
         {
             var tmpLst = new List <ACL>();
             for (; !vidx1.Done(); vidx1.Incr())
             {
                 ACL e1;
                 e1 = new ACL();
                 a_.ReadRecord(e1, "e1");
                 tmpLst.Add(e1);
             }
             Acl = tmpLst;
         }
         a_.EndVector("acl");
     }
     Flags = a_.ReadInt("flags");
     a_.EndRecord(tag);
 }
Exemplo n.º 31
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Type = a_.ReadInt("type");
     Zxid = a_.ReadLong("zxid");
     Data = a_.ReadBuffer("data");
     {
         IIndex vidx1 = a_.StartVector("authinfo");
         if (vidx1 != null)
         {
             var tmpLst = new System.Collections.Generic.List <Org.Apache.Zookeeper.Data.ZKId>();
             for (; !vidx1.Done(); vidx1.Incr())
             {
                 Org.Apache.Zookeeper.Data.ZKId e1;
                 e1 = new Org.Apache.Zookeeper.Data.ZKId();
                 a_.ReadRecord(e1, "e1");
                 tmpLst.Add(e1);
             }
             Authinfo = tmpLst;
         }
         a_.EndVector("authinfo");
     }
     a_.EndRecord(tag);
 }
Exemplo n.º 32
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Stat= new Stat();
     a_.ReadRecord(Stat,"stat");
     a_.EndRecord(tag);
 }
Exemplo n.º 33
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Path=a_.ReadString("path");
     {
       IIndex vidx1 = a_.StartVector("acl");
       if (vidx1!= null) {          var tmpLst=new System.Collections.Generic.List<ACL>();
       for (; !vidx1.Done(); vidx1.Incr()) {
     ACL e1;
     e1= new ACL();
     a_.ReadRecord(e1,"e1");
     tmpLst.Add(e1);
       }
     Acl=tmpLst;
       }
     a_.EndVector("acl");
     }
     Version=a_.ReadInt("version");
     a_.EndRecord(tag);
 }
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     {
       IIndex vidx1 = a_.StartVector("children");
       if (vidx1!= null) {          var tmpLst=new System.Collections.Generic.List<string>();
       for (; !vidx1.Done(); vidx1.Incr()) {
     String e1;
     e1=a_.ReadString("e1");
     tmpLst.Add(e1);
       }
     Children=tmpLst;
       }
     a_.EndVector("children");
     }
     Stat= new Stat();
     a_.ReadRecord(Stat,"stat");
     a_.EndRecord(tag);
 }