예제 #1
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);
}
예제 #2
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);
}
예제 #3
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);
}
예제 #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");
    a_.EndRecord(tag);
}
예제 #5
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);
}
예제 #6
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");
     }
     Flags = a_.ReadInt("flags");
     a_.EndRecord(tag);
 }
예제 #7
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);
 }
예제 #8
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.Ephemeral      = a_.ReadBool("ephemeral");
            this.ParentCVersion = a_.ReadInt("parentCVersion");
            a_.EndRecord(tag);
        }
예제 #9
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);
 }
예제 #10
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);
 }
예제 #11
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);
 }