Пример #1
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);
 }
Пример #2
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);
 }
Пример #3
0
 public void Serialize(IOutputArchive a_, String tag)
 {
     a_.StartRecord(this, tag);
     a_.WriteBuffer(Data, "data");
     a_.WriteRecord(Stat, "stat");
     a_.EndRecord(this, tag);
 }
Пример #4
0
 public void Serialize(IOutputArchive a_, String tag)
 {
     a_.StartRecord(this, tag);
     a_.WriteInt(Perms, "perms");
     a_.WriteRecord(Id, "id");
     a_.EndRecord(this, tag);
 }
Пример #5
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);
 }
Пример #6
0
        public void Serialize(IOutputArchive a_, String tag)
        {
            a_.StartRecord(this, tag);
#warning code here
            a_.WriteBuffer(Remark, "data");
            //a_.WriteBuffer(Remark, "remark");
            a_.WriteRecord(Stat, "stat");
            a_.EndRecord(this, tag);
        }
Пример #7
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);
 }
Пример #8
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_.WriteRecord(Stat,"stat");
   a_.EndRecord(this,tag);
 }
Пример #9
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);
 }
Пример #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);
 }
Пример #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);
 }
Пример #12
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_.WriteRecord(this.Stat, "stat");
     a_.EndRecord(this, tag);
 }
Пример #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);
 }
Пример #14
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);
 }
Пример #15
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);
 }
Пример #16
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);
 }
Пример #17
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);
 }
Пример #18
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);
 }
Пример #19
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_.WriteRecord(Stat, "stat");
     a_.EndRecord(this, tag);
 }
Пример #20
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);
 }
Пример #21
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);
 }
Пример #22
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);
 }
Пример #23
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteInt(Perms,"perms");
   a_.WriteRecord(Id,"id");
   a_.EndRecord(this,tag);
 }
Пример #24
0
 public void Serialize(IOutputArchive a_, string tag)
 {
     a_.StartRecord((IRecord)this, tag);
     a_.WriteRecord((IRecord)this.Stat, "stat");
     a_.EndRecord((IRecord)this, tag);
 }
Пример #25
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteBuffer(Data,"data");
   a_.WriteRecord(Stat,"stat");
   a_.EndRecord(this,tag);
 }