Example #1
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteInt(Type,"type");
   a_.WriteBool(Done,"done");
   a_.WriteInt(Err,"err");
   a_.EndRecord(this,tag);
 }
Example #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);
 }
Example #3
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteInt(Xid,"xid");
   a_.WriteLong(Zxid,"zxid");
   a_.WriteInt(Err,"err");
   a_.EndRecord(this,tag);
 }
Example #4
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteInt(Magic,"magic");
   a_.WriteInt(Version,"version");
   a_.WriteLong(Dbid,"dbid");
   a_.EndRecord(this,tag);
 }
Example #5
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteString(Path,"path");
   a_.WriteBuffer(Data,"data");
   a_.WriteInt(Version,"version");
   a_.EndRecord(this,tag);
 }
Example #6
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteInt(Type,"type");
   a_.WriteInt(State,"state");
   a_.WriteString(Path,"path");
   a_.EndRecord(this,tag);
 }
Example #7
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteInt(Type,"type");
   a_.WriteString(Scheme,"scheme");
   a_.WriteBuffer(Auth,"auth");
   a_.EndRecord(this,tag);
 }
Example #8
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteInt(ProtocolVersion,"protocolVersion");
   a_.WriteInt(TimeOut,"timeOut");
   a_.WriteLong(SessionId,"sessionId");
   a_.WriteBuffer(Passwd,"passwd");
   a_.EndRecord(this,tag);
 }
Example #9
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteLong(ClientId,"clientId");
   a_.WriteInt(Cxid,"cxid");
   a_.WriteLong(Zxid,"zxid");
   a_.WriteLong(Time,"time");
   a_.WriteInt(Type,"type");
   a_.EndRecord(this,tag);
 }
Example #10
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteLong(Czxid,"czxid");
   a_.WriteLong(Mzxid,"mzxid");
   a_.WriteLong(Ctime,"ctime");
   a_.WriteLong(Mtime,"mtime");
   a_.WriteInt(Version,"version");
   a_.WriteInt(Cversion,"cversion");
   a_.WriteInt(Aversion,"aversion");
   a_.WriteLong(EphemeralOwner,"ephemeralOwner");
   a_.EndRecord(this,tag);
 }
Example #11
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);
 }
 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);
 }
Example #13
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);
 }
Example #14
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);
 }
Example #15
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);
 }
Example #16
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);
 }
Example #17
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteBuffer(Data,"data");
   a_.WriteRecord(Stat,"stat");
   a_.EndRecord(this,tag);
 }
Example #18
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteLong(Serverid,"serverid");
   a_.WriteInt(ProtocolVersion,"protocolVersion");
   a_.EndRecord(this,tag);
 }
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteInt(Max,"max");
   a_.EndRecord(this,tag);
 }
Example #20
0
 public void Serialize(IOutputArchive a_, String tag)
 {
     a_.StartRecord(this,tag);
     a_.WriteString(Scheme,"scheme");
     a_.WriteString(Id,"id");
     a_.EndRecord(this,tag);
 }
Example #21
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteInt(TimeOut,"timeOut");
   a_.EndRecord(this,tag);
 }
Example #22
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteString(Path,"path");
   a_.WriteBool(Watch,"watch");
   a_.EndRecord(this,tag);
 }
Example #23
0
 public void Serialize(IOutputArchive a_, string tag)
 {
     a_.StartRecord(this, tag);
     a_.WriteInt(this.TimeOut, "timeOut");
     a_.EndRecord(this, tag);
 }
Example #24
0
 public void Serialize(IOutputArchive a_, String tag)
 {
     a_.StartRecord(this, tag);
     a_.WriteInt(Err, "err");
     a_.EndRecord(this, tag);
 }
Example #25
0
 public void Serialize(IOutputArchive a_, String tag)
 {
     a_.StartRecord(this, tag);
     a_.WriteBuffer(Token, "token");
     a_.EndRecord(this, tag);
 }
Example #26
0
 public void Serialize(IOutputArchive archive, string tag)
 {
     try
     {
         SpinWait.SpinUntil(() => Interlocked.CompareExchange(ref lockedInt, 1, 0) == 0);
         archive.StartRecord(this, "node");
         archive.WriteBuffer(data, "data");
         archive.WriteLong(acl, "acl");
         stat.Serialize(archive, "statpersisted");
         archive.EndRecord(this, "node");
     }
     finally
     {
         Interlocked.Exchange(ref lockedInt, 0);
     }
 }
Example #27
0
 public void Serialize(IOutputArchive a_, string tag)
 {
     a_.StartRecord(this, tag);
     a_.WriteRecord(this.Stat, "stat");
     a_.EndRecord(this, tag);
 }
Example #28
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteInt(Type,"type");
   a_.WriteBuffer(Data,"data");
   a_.EndRecord(this,tag);
 }
Example #29
0
 public void Serialize(IOutputArchive archive, string tag)
 {
     lock (locker)
     {
         archive.StartRecord(this, "node");
         archive.WriteBuffer(data, "data");
         archive.WriteLong(acl, "acl");
         stat.Serialize(archive, "statpersisted");
         archive.EndRecord(this, "node");
     }
 }
Example #30
0
 public void Serialize(IOutputArchive a_, String tag)
 {
     a_.StartRecord(this, tag);
     a_.WriteString(Path, "path");
     a_.EndRecord(this, tag);
 }
Example #31
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteInt(Xid,"xid");
   a_.WriteInt(Type,"type");
   a_.EndRecord(this,tag);
 }
Example #32
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteBuffer(Token,"token");
   a_.EndRecord(this,tag);
 }
Example #33
0
 public void Serialize(IOutputArchive a_, String tag) {
   a_.StartRecord(this,tag);
   a_.WriteInt(Perms,"perms");
   a_.WriteRecord(Id,"id");
   a_.EndRecord(this,tag);
 }