Exemplo n.º 1
0
 public void Serialize(IOutputArchive a_, string tag)
 {
     a_.StartRecord((IRecord)this, tag);
     a_.WriteLong(this.RelativeZxid, "relativeZxid");
     a_.StartVector <string>(this.DataWatches, "dataWatches");
     if (this.DataWatches != null)
     {
         foreach (string dataWatch in this.DataWatches)
         {
             a_.WriteString(dataWatch, dataWatch);
         }
     }
     a_.EndVector <string>(this.DataWatches, "dataWatches");
     a_.StartVector <string>(this.ExistWatches, "existWatches");
     if (this.ExistWatches != null)
     {
         foreach (string existWatch in this.ExistWatches)
         {
             a_.WriteString(existWatch, existWatch);
         }
     }
     a_.EndVector <string>(this.ExistWatches, "existWatches");
     a_.StartVector <string>(this.ChildWatches, "childWatches");
     if (this.ChildWatches != null)
     {
         foreach (string childWatch in this.ChildWatches)
         {
             a_.WriteString(childWatch, childWatch);
         }
     }
     a_.EndVector <string>(this.ChildWatches, "childWatches");
     a_.EndRecord((IRecord)this, tag);
 }
Exemplo n.º 2
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteLong(RelativeZxid,"relativeZxid");
   {
     a_.StartVector(DataWatches,"dataWatches");
     if (DataWatches!= null) {          foreach(var e1 in DataWatches) {
       a_.WriteString(e1,e1);
         }
     }
     a_.EndVector(DataWatches,"dataWatches");
   }
   {
     a_.StartVector(ExistWatches,"existWatches");
     if (ExistWatches!= null) {          foreach(var e1 in ExistWatches) {
       a_.WriteString(e1,e1);
         }
     }
     a_.EndVector(ExistWatches,"existWatches");
   }
   {
     a_.StartVector(ChildWatches,"childWatches");
     if (ChildWatches!= null) {          foreach(var e1 in ChildWatches) {
       a_.WriteString(e1,e1);
         }
     }
     a_.EndVector(ChildWatches,"childWatches");
   }
   a_.EndRecord(this,tag);
 }
Exemplo n.º 3
0
 public void Serialize(IOutputArchive a_, string tag)
 {
     a_.StartRecord(this, tag);
     a_.WriteLong(this.RelativeZxid, "relativeZxid");
     a_.StartVector <string>(this.DataWatches, "dataWatches");
     if (this.DataWatches != null)
     {
         foreach (string str in this.DataWatches)
         {
             a_.WriteString(str, str);
         }
     }
     a_.EndVector <string>(this.DataWatches, "dataWatches");
     a_.StartVector <string>(this.ExistWatches, "existWatches");
     if (this.ExistWatches != null)
     {
         foreach (string str2 in this.ExistWatches)
         {
             a_.WriteString(str2, str2);
         }
     }
     a_.EndVector <string>(this.ExistWatches, "existWatches");
     a_.StartVector <string>(this.ChildWatches, "childWatches");
     if (this.ChildWatches != null)
     {
         foreach (string str3 in this.ChildWatches)
         {
             a_.WriteString(str3, str3);
         }
     }
     a_.EndVector <string>(this.ChildWatches, "childWatches");
     a_.EndRecord(this, tag);
 }
Exemplo n.º 4
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   {
     a_.StartVector(Txns,"txns");
     if (Txns!= null) {          foreach(var e1 in Txns) {
   a_.WriteRecord(e1,"e1");
         }
     }
     a_.EndVector(Txns,"txns");
   }
   a_.EndRecord(this,tag);
 }
Exemplo n.º 5
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   {
     a_.StartVector(Children,"children");
     if (Children!= null) {          foreach(var e1 in Children) {
       a_.WriteString(e1,e1);
         }
     }
     a_.EndVector(Children,"children");
   }
   a_.EndRecord(this,tag);
 }
Exemplo n.º 6
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   {
     a_.StartVector(Acl,"acl");
     if (Acl!= null) {          foreach(var e1 in Acl) {
   a_.WriteRecord(e1,"e1");
         }
     }
     a_.EndVector(Acl,"acl");
   }
   a_.WriteRecord(Stat,"stat");
   a_.EndRecord(this,tag);
 }
Exemplo n.º 7
0
 public void Serialize(IOutputArchive a_, String tag)
 {
     a_.StartRecord(this, tag);
     a_.WriteLong(RelativeZxid, "relativeZxid");
     {
         a_.StartVector(DataWatches, "dataWatches");
         if (DataWatches != null)
         {
             foreach (var e1 in DataWatches)
             {
                 a_.WriteString(e1, e1);
             }
         }
         a_.EndVector(DataWatches, "dataWatches");
     }
     {
         a_.StartVector(ExistWatches, "existWatches");
         if (ExistWatches != null)
         {
             foreach (var e1 in ExistWatches)
             {
                 a_.WriteString(e1, e1);
             }
         }
         a_.EndVector(ExistWatches, "existWatches");
     }
     {
         a_.StartVector(ChildWatches, "childWatches");
         if (ChildWatches != null)
         {
             foreach (var e1 in ChildWatches)
             {
                 a_.WriteString(e1, e1);
             }
         }
         a_.EndVector(ChildWatches, "childWatches");
     }
     a_.EndRecord(this, tag);
 }
Exemplo n.º 8
0
 public void Serialize(IOutputArchive a_, string tag)
 {
     a_.StartRecord(this, tag);
     a_.StartVector <Org.Apache.Zookeeper.Txn.Txn>(this.Txns, "txns");
     if (this.Txns != null)
     {
         foreach (Org.Apache.Zookeeper.Txn.Txn txn in this.Txns)
         {
             a_.WriteRecord(txn, "e1");
         }
     }
     a_.EndVector <Org.Apache.Zookeeper.Txn.Txn>(this.Txns, "txns");
     a_.EndRecord(this, tag);
 }
Exemplo n.º 9
0
 public void Serialize(IOutputArchive a_, string tag)
 {
     a_.StartRecord(this, tag);
     a_.StartVector <string>(this.Children, "children");
     if (this.Children != null)
     {
         foreach (string str in this.Children)
         {
             a_.WriteString(str, str);
         }
     }
     a_.EndVector <string>(this.Children, "children");
     a_.EndRecord(this, tag);
 }
Exemplo n.º 10
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteString(Path,"path");
   {
     a_.StartVector(Acl,"acl");
     if (Acl!= null) {          foreach(var e1 in Acl) {
   a_.WriteRecord(e1,"e1");
         }
     }
     a_.EndVector(Acl,"acl");
   }
   a_.WriteInt(Version,"version");
   a_.EndRecord(this,tag);
 }
Exemplo n.º 11
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteString(Path,"path");
   a_.WriteBuffer(Data,"data");
   {
     a_.StartVector(Acl,"acl");
     if (Acl!= null) {          foreach(var e1 in Acl) {
   a_.WriteRecord(e1,"e1");
         }
     }
     a_.EndVector(Acl,"acl");
   }
   a_.WriteInt(Flags,"flags");
   a_.EndRecord(this,tag);
 }
Exemplo n.º 12
0
 public void Serialize(IOutputArchive a_, string tag)
 {
     a_.StartRecord((IRecord)this, tag);
     a_.StartVector <string>(this.Children, "children");
     if (this.Children != null)
     {
         foreach (string child in this.Children)
         {
             a_.WriteString(child, child);
         }
     }
     a_.EndVector <string>(this.Children, "children");
     a_.WriteRecord((IRecord)this.Stat, "stat");
     a_.EndRecord((IRecord)this, tag);
 }
Exemplo n.º 13
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteInt(Type,"type");
   a_.WriteLong(Zxid,"zxid");
   a_.WriteBuffer(Data,"data");
   {
     a_.StartVector(Authinfo,"authinfo");
     if (Authinfo!= null) {          foreach(var e1 in Authinfo) {
   a_.WriteRecord(e1,"e1");
         }
     }
     a_.EndVector(Authinfo,"authinfo");
   }
   a_.EndRecord(this,tag);
 }
Exemplo n.º 14
0
 public void Serialize(IOutputArchive a_, string tag)
 {
     a_.StartRecord((IRecord)this, tag);
     a_.StartVector <ACL>(this.Acl, "acl");
     if (this.Acl != null)
     {
         foreach (ACL acl in this.Acl)
         {
             a_.WriteRecord((IRecord)acl, "e1");
         }
     }
     a_.EndVector <ACL>(this.Acl, "acl");
     a_.WriteRecord((IRecord)this.Stat, "stat");
     a_.EndRecord((IRecord)this, tag);
 }
Exemplo n.º 15
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="a_"></param>
 /// <param name="tag"></param>
 public void Serialize(IOutputArchive a_, String tag)
 {
     a_.StartRecord(this, tag);
     {
         a_.StartVector(Children, "children");
         if (Children != null)
         {
             foreach (var e1 in Children)
             {
                 a_.WriteString(e1, e1);
             }
         }
         a_.EndVector(Children, "children");
     }
     a_.EndRecord(this, tag);
 }
Exemplo n.º 16
0
 public void Serialize(IOutputArchive a_, string tag)
 {
     a_.StartRecord(this, tag);
     a_.WriteString(this.Path, "path");
     a_.StartVector <ACL>(this.Acl, "acl");
     if (this.Acl != null)
     {
         foreach (ACL acl in this.Acl)
         {
             a_.WriteRecord(acl, "e1");
         }
     }
     a_.EndVector <ACL>(this.Acl, "acl");
     a_.WriteInt(this.Version, "version");
     a_.EndRecord(this, tag);
 }
Exemplo n.º 17
0
 public void Serialize(IOutputArchive a_, String tag)
 {
     a_.StartRecord(this, tag);
     {
         a_.StartVector(Txns, "txns");
         if (Txns != null)
         {
             foreach (var e1 in Txns)
             {
                 a_.WriteRecord(e1, "e1");
             }
         }
         a_.EndVector(Txns, "txns");
     }
     a_.EndRecord(this, tag);
 }
Exemplo n.º 18
0
 public void Serialize(IOutputArchive a_, string tag)
 {
     a_.StartRecord((IRecord)this, tag);
     a_.WriteString(this.Path, "path");
     a_.WriteBuffer(this.Data, "data");
     a_.StartVector <ACL>(this.Acl, "acl");
     if (this.Acl != null)
     {
         foreach (ACL acl in this.Acl)
         {
             a_.WriteRecord((IRecord)acl, "e1");
         }
     }
     a_.EndVector <ACL>(this.Acl, "acl");
     a_.WriteBool(this.Ephemeral, "ephemeral");
     a_.EndRecord((IRecord)this, tag);
 }
Exemplo n.º 19
0
 public void Serialize(IOutputArchive a_, String tag)
 {
     a_.StartRecord(this, tag);
     {
         a_.StartVector(Acl, "acl");
         if (Acl != null)
         {
             foreach (var e1 in Acl)
             {
                 a_.WriteRecord(e1, "e1");
             }
         }
         a_.EndVector(Acl, "acl");
     }
     a_.WriteRecord(Stat, "stat");
     a_.EndRecord(this, tag);
 }
Exemplo n.º 20
0
 public void Serialize(IOutputArchive a_, string tag)
 {
     a_.StartRecord(this, tag);
     a_.WriteString(this.Path, "path");
     a_.WriteBuffer(this.Data, "data");
     a_.StartVector <ACL>(this.Acl, "acl");
     if (this.Acl != null)
     {
         foreach (ACL acl in this.Acl)
         {
             a_.WriteRecord(acl, "e1");
         }
     }
     a_.EndVector <ACL>(this.Acl, "acl");
     a_.WriteInt(this.Flags, "flags");
     a_.EndRecord(this, tag);
 }
Exemplo n.º 21
0
 public void Serialize(IOutputArchive a_, string tag)
 {
     a_.StartRecord((IRecord)this, tag);
     a_.WriteInt(this.Type, "type");
     a_.WriteLong(this.Zxid, "zxid");
     a_.WriteBuffer(this.Data, "data");
     a_.StartVector <ZKId>(this.Authinfo, "authinfo");
     if (this.Authinfo != null)
     {
         foreach (ZKId zkId in this.Authinfo)
         {
             a_.WriteRecord((IRecord)zkId, "e1");
         }
     }
     a_.EndVector <ZKId>(this.Authinfo, "authinfo");
     a_.EndRecord((IRecord)this, tag);
 }
Exemplo n.º 22
0
 public void Serialize(IOutputArchive a_, String tag)
 {
     a_.StartRecord(this, tag);
     a_.WriteString(Path, "path");
     {
         a_.StartVector(Acl, "acl");
         if (Acl != null)
         {
             foreach (var e1 in Acl)
             {
                 a_.WriteRecord(e1, "e1");
             }
         }
         a_.EndVector(Acl, "acl");
     }
     a_.WriteInt(Version, "version");
     a_.EndRecord(this, tag);
 }
Exemplo n.º 23
0
 public void Serialize(IOutputArchive a_, String tag)
 {
     a_.StartRecord(this, tag);
     a_.WriteString(Path, "path");
     a_.WriteBuffer(Data, "data");
     {
         a_.StartVector(Acl, "acl");
         if (Acl != null)
         {
             foreach (var e1 in Acl)
             {
                 a_.WriteRecord(e1, "e1");
             }
         }
         a_.EndVector(Acl, "acl");
     }
     a_.WriteInt(Flags, "flags");
     a_.EndRecord(this, tag);
 }
Exemplo n.º 24
0
 public void Serialize(IOutputArchive a_, String tag)
 {
     a_.StartRecord(this, tag);
     a_.WriteInt(Type, "type");
     a_.WriteLong(Zxid, "zxid");
     a_.WriteBuffer(Data, "data");
     {
         a_.StartVector(Authinfo, "authinfo");
         if (Authinfo != null)
         {
             foreach (var e1 in Authinfo)
             {
                 a_.WriteRecord(e1, "e1");
             }
         }
         a_.EndVector(Authinfo, "authinfo");
     }
     a_.EndRecord(this, tag);
 }