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); }
public void Serialize(IOutputArchive a_, String tag) { a_.StartRecord(this,tag); a_.WriteInt(ProtocolVersion,"protocolVersion"); a_.WriteLong(LastZxidSeen,"lastZxidSeen"); a_.WriteInt(TimeOut,"timeOut"); a_.WriteLong(SessionId,"sessionId"); a_.WriteBuffer(Passwd,"passwd"); a_.EndRecord(this,tag); }
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); }
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); }
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); }
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); }
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); }
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_.WriteInt(DataLength, "dataLength"); a_.WriteInt(NumChildren, "numChildren"); a_.WriteLong(Pzxid, "pzxid"); a_.EndRecord(this, tag); }
public void Serialize(IOutputArchive a_, string tag) { a_.StartRecord(this, tag); a_.WriteLong(this.Czxid, "czxid"); a_.WriteLong(this.Mzxid, "mzxid"); a_.WriteLong(this.Ctime, "ctime"); a_.WriteLong(this.Mtime, "mtime"); a_.WriteInt(this.Version, "version"); a_.WriteInt(this.Cversion, "cversion"); a_.WriteInt(this.Aversion, "aversion"); a_.WriteLong(this.EphemeralOwner, "ephemeralOwner"); a_.WriteInt(this.DataLength, "dataLength"); a_.WriteInt(this.NumChildren, "numChildren"); a_.WriteLong(this.Pzxid, "pzxid"); a_.EndRecord(this, tag); }
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); }
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 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); } }
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"); } }