Esempio n. 1
0
File: Id.cs Progetto: Bart-Li/Base
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Scheme = a_.ReadString("scheme");
     Id     = a_.ReadString("id");
     a_.EndRecord(tag);
 }
Esempio n. 2
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     RelativeZxid = a_.ReadLong("relativeZxid");
     {
         IIndex vidx1 = a_.StartVector("dataWatches");
         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);
             }
             DataWatches = tmpLst;
         }
         a_.EndVector("dataWatches");
     }
     {
         IIndex vidx1 = a_.StartVector("existWatches");
         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);
             }
             ExistWatches = tmpLst;
         }
         a_.EndVector("existWatches");
     }
     {
         IIndex vidx1 = a_.StartVector("childWatches");
         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);
             }
             ChildWatches = tmpLst;
         }
         a_.EndVector("childWatches");
     }
     a_.EndRecord(tag);
 }
Esempio n. 3
0
        public void Deserialize(IInputArchive a_, string tag)
        {
            a_.StartRecord(tag);
            this.RelativeZxid = a_.ReadLong("relativeZxid");
            IIndex index = a_.StartVector("dataWatches");

            if (index != null)
            {
                List <string> list = new List <string>();
                while (!index.Done())
                {
                    string item = a_.ReadString("e1");
                    list.Add(item);
                    index.Incr();
                }
                this.DataWatches = list;
            }
            a_.EndVector("dataWatches");
            IIndex index2 = a_.StartVector("existWatches");

            if (index2 != null)
            {
                List <string> list2 = new List <string>();
                while (!index2.Done())
                {
                    string str2 = a_.ReadString("e1");
                    list2.Add(str2);
                    index2.Incr();
                }
                this.ExistWatches = list2;
            }
            a_.EndVector("existWatches");
            IIndex index3 = a_.StartVector("childWatches");

            if (index3 != null)
            {
                List <string> list3 = new List <string>();
                while (!index3.Done())
                {
                    string str3 = a_.ReadString("e1");
                    list3.Add(str3);
                    index3.Incr();
                }
                this.ChildWatches = list3;
            }
            a_.EndVector("childWatches");
            a_.EndRecord(tag);
        }
Esempio n. 4
0
        public void Deserialize(IInputArchive a_, string tag)
        {
            a_.StartRecord(tag);
            this.RelativeZxid = a_.ReadLong("relativeZxid");
            IIndex index1 = a_.StartVector("dataWatches");

            if (index1 != null)
            {
                List <string> stringList = new List <string>();
                while (!index1.Done())
                {
                    string str = a_.ReadString("e1");
                    stringList.Add(str);
                    index1.Incr();
                }
                this.DataWatches = (IEnumerable <string>)stringList;
            }
            a_.EndVector("dataWatches");
            IIndex index2 = a_.StartVector("existWatches");

            if (index2 != null)
            {
                List <string> stringList = new List <string>();
                while (!index2.Done())
                {
                    string str = a_.ReadString("e1");
                    stringList.Add(str);
                    index2.Incr();
                }
                this.ExistWatches = (IEnumerable <string>)stringList;
            }
            a_.EndVector("existWatches");
            IIndex index3 = a_.StartVector("childWatches");

            if (index3 != null)
            {
                List <string> stringList = new List <string>();
                while (!index3.Done())
                {
                    string str = a_.ReadString("e1");
                    stringList.Add(str);
                    index3.Incr();
                }
                this.ChildWatches = (IEnumerable <string>)stringList;
            }
            a_.EndVector("childWatches");
            a_.EndRecord(tag);
        }
Esempio n. 5
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);
 }
Esempio n. 6
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    Type=a_.ReadInt("type");
    Scheme=a_.ReadString("scheme");
    Auth=a_.ReadBuffer("auth");
    a_.EndRecord(tag);
}
Esempio n. 7
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    Path=a_.ReadString("path");
    Data=a_.ReadBuffer("data");
    Version=a_.ReadInt("version");
    a_.EndRecord(tag);
}
Esempio n. 8
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    Type=a_.ReadInt("type");
    State=a_.ReadInt("state");
    Path=a_.ReadString("path");
    a_.EndRecord(tag);
}
Esempio n. 9
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Path = a_.ReadString("path");
     Max  = a_.ReadInt("max");
     a_.EndRecord(tag);
 }
Esempio n. 10
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Path  = a_.ReadString("path");
     Watch = a_.ReadBool("watch");
     a_.EndRecord(tag);
 }
Esempio n. 11
0
 public void Deserialize(IInputArchive a_, string tag)
 {
     a_.StartRecord(tag);
     this.Path    = a_.ReadString("path");
     this.Version = a_.ReadInt("version");
     a_.EndRecord(tag);
 }
Esempio n. 12
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Type  = a_.ReadInt("type");
     State = a_.ReadInt("state");
     Path  = a_.ReadString("path");
     a_.EndRecord(tag);
 }
Esempio n. 13
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Path    = a_.ReadString("path");
     Data    = a_.ReadBuffer("data");
     Version = a_.ReadInt("version");
     a_.EndRecord(tag);
 }
Esempio n. 14
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Type   = a_.ReadInt("type");
     Scheme = a_.ReadString("scheme");
     Auth   = a_.ReadBuffer("auth");
     a_.EndRecord(tag);
 }
Esempio n. 15
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");
    }
    a_.EndRecord(tag);
}
Esempio n. 16
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");
            a_.EndRecord(tag);
        }
Esempio n. 17
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<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");
    }
    Version=a_.ReadInt("version");
    a_.EndRecord(tag);
}
Esempio n. 18
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");
            a_.EndRecord(tag);
        }
 /// <summary>
 ///
 /// </summary>
 /// <param name="a_"></param>
 /// <param name="tag"></param>
 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");
     }
     a_.EndRecord(tag);
 }
Esempio n. 20
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);
        }
Esempio n. 21
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);
        }
Esempio n. 22
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);
 }
Esempio n. 23
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);
        }
Esempio n. 24
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);
 }
Esempio n. 25
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Scheme=a_.ReadString("scheme");
     Id=a_.ReadString("id");
     a_.EndRecord(tag);
 }
Esempio n. 26
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<ACL>();
       for (; !vidx1.Done(); vidx1.Incr()) {
     ACL e1;
     e1= new ACL();
     a_.ReadRecord(e1,"e1");
     tmpLst.Add(e1);
       }
     Acl=tmpLst;
       }
     a_.EndVector("acl");
     }
     Ephemeral=a_.ReadBool("ephemeral");
     a_.EndRecord(tag);
 }
Esempio n. 27
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Path=a_.ReadString("path");
     a_.EndRecord(tag);
 }
Esempio n. 28
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     RelativeZxid=a_.ReadLong("relativeZxid");
     {
       IIndex vidx1 = a_.StartVector("dataWatches");
       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);
       }
     DataWatches=tmpLst;
       }
     a_.EndVector("dataWatches");
     }
     {
       IIndex vidx1 = a_.StartVector("existWatches");
       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);
       }
     ExistWatches=tmpLst;
       }
     a_.EndVector("existWatches");
     }
     {
       IIndex vidx1 = a_.StartVector("childWatches");
       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);
       }
     ChildWatches=tmpLst;
       }
     a_.EndVector("childWatches");
     }
     a_.EndRecord(tag);
 }