public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); ProtocolVersion=a_.ReadInt("protocolVersion"); LastZxidSeen=a_.ReadLong("lastZxidSeen"); TimeOut=a_.ReadInt("timeOut"); SessionId=a_.ReadLong("sessionId"); Passwd=a_.ReadBuffer("passwd"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); ClientId=a_.ReadLong("clientId"); Cxid=a_.ReadInt("cxid"); Zxid=a_.ReadLong("zxid"); Time=a_.ReadLong("time"); Type=a_.ReadInt("type"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); ClientId = a_.ReadLong("clientId"); Cxid = a_.ReadInt("cxid"); Zxid = a_.ReadLong("zxid"); Time = a_.ReadLong("time"); Type = a_.ReadInt("type"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); ProtocolVersion = a_.ReadInt("protocolVersion"); LastZxidSeen = a_.ReadLong("lastZxidSeen"); TimeOut = a_.ReadInt("timeOut"); SessionId = a_.ReadLong("sessionId"); Passwd = a_.ReadBuffer("passwd"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Czxid=a_.ReadLong("czxid"); Mzxid=a_.ReadLong("mzxid"); Ctime=a_.ReadLong("ctime"); Mtime=a_.ReadLong("mtime"); Version=a_.ReadInt("version"); Cversion=a_.ReadInt("cversion"); Aversion=a_.ReadInt("aversion"); EphemeralOwner=a_.ReadLong("ephemeralOwner"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Czxid = a_.ReadLong("czxid"); Mzxid = a_.ReadLong("mzxid"); Ctime = a_.ReadLong("ctime"); Mtime = a_.ReadLong("mtime"); Version = a_.ReadInt("version"); Cversion = a_.ReadInt("cversion"); Aversion = a_.ReadInt("aversion"); EphemeralOwner = a_.ReadLong("ephemeralOwner"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Xid=a_.ReadInt("xid"); Zxid=a_.ReadLong("zxid"); Err=a_.ReadInt("err"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Magic=a_.ReadInt("magic"); Version=a_.ReadInt("version"); Dbid=a_.ReadLong("dbid"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Serverid = a_.ReadLong("serverid"); ProtocolVersion = a_.ReadInt("protocolVersion"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, string tag) { a_.StartRecord(tag); this.Xid = a_.ReadInt("xid"); this.Zxid = a_.ReadLong("zxid"); this.Err = a_.ReadInt("err"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Magic = a_.ReadInt("magic"); Version = a_.ReadInt("version"); Dbid = a_.ReadLong("dbid"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, string tag) { a_.StartRecord(tag); this.ProtocolVersion = a_.ReadInt("protocolVersion"); this.TimeOut = a_.ReadInt("timeOut"); this.SessionId = a_.ReadLong("sessionId"); this.Passwd = a_.ReadBuffer("passwd"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive archive, string tag) { lock (locker) { archive.StartRecord("node"); data = archive.ReadBuffer("data"); acl = archive.ReadLong("acl"); stat = new StatPersisted(); stat.Deserialize(archive, "statpersisted"); archive.EndRecord("node"); } }
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); }
public void Deserialize(IInputArchive a_, string tag) { a_.StartRecord(tag); this.RelativeZxid = a_.ReadLong("relativeZxid"); IIndex index = a_.StartVector("dataWatches"); if (index != null) { List <string> list = new List <string>(); while (!index.Done()) { string item = a_.ReadString("e1"); list.Add(item); index.Incr(); } this.DataWatches = list; } a_.EndVector("dataWatches"); IIndex index2 = a_.StartVector("existWatches"); if (index2 != null) { List <string> list2 = new List <string>(); while (!index2.Done()) { string str2 = a_.ReadString("e1"); list2.Add(str2); index2.Incr(); } this.ExistWatches = list2; } a_.EndVector("existWatches"); IIndex index3 = a_.StartVector("childWatches"); if (index3 != null) { List <string> list3 = new List <string>(); while (!index3.Done()) { string str3 = a_.ReadString("e1"); list3.Add(str3); index3.Incr(); } this.ChildWatches = list3; } a_.EndVector("childWatches"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, string tag) { a_.StartRecord(tag); this.RelativeZxid = a_.ReadLong("relativeZxid"); IIndex index1 = a_.StartVector("dataWatches"); if (index1 != null) { List <string> stringList = new List <string>(); while (!index1.Done()) { string str = a_.ReadString("e1"); stringList.Add(str); index1.Incr(); } this.DataWatches = (IEnumerable <string>)stringList; } a_.EndVector("dataWatches"); IIndex index2 = a_.StartVector("existWatches"); if (index2 != null) { List <string> stringList = new List <string>(); while (!index2.Done()) { string str = a_.ReadString("e1"); stringList.Add(str); index2.Incr(); } this.ExistWatches = (IEnumerable <string>)stringList; } a_.EndVector("existWatches"); IIndex index3 = a_.StartVector("childWatches"); if (index3 != null) { List <string> stringList = new List <string>(); while (!index3.Done()) { string str = a_.ReadString("e1"); stringList.Add(str); index3.Incr(); } this.ChildWatches = (IEnumerable <string>)stringList; } a_.EndVector("childWatches"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive archive, string tag) { try { SpinWait.SpinUntil(() => Interlocked.CompareExchange(ref lockedInt, 1, 0) == 0); archive.StartRecord("node"); data = archive.ReadBuffer("data"); acl = archive.ReadLong("acl"); stat = new StatPersisted(); stat.Deserialize(archive, "statpersisted"); archive.EndRecord("node"); } finally { Interlocked.Exchange(ref lockedInt, 0); } }
public void Deserialize(IInputArchive a_, string tag) { a_.StartRecord(tag); this.Czxid = a_.ReadLong("czxid"); this.Mzxid = a_.ReadLong("mzxid"); this.Ctime = a_.ReadLong("ctime"); this.Mtime = a_.ReadLong("mtime"); this.Version = a_.ReadInt("version"); this.Cversion = a_.ReadInt("cversion"); this.Aversion = a_.ReadInt("aversion"); this.EphemeralOwner = a_.ReadLong("ephemeralOwner"); this.Pzxid = a_.ReadLong("pzxid"); a_.EndRecord(tag); }
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); }
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); }
/// <summary> /// /// </summary> /// <param name="a_"></param> /// <param name="tag"></param> public void Deserialize(IInputArchive a_, string tag) { a_.StartRecord(tag); Czxid = a_.ReadLong("czxid"); Mzxid = a_.ReadLong("mzxid"); Ctime = a_.ReadLong("ctime"); Mtime = a_.ReadLong("mtime"); Version = a_.ReadInt("version"); Cversion = a_.ReadInt("cversion"); Aversion = a_.ReadInt("aversion"); EphemeralOwner = a_.ReadLong("ephemeralOwner"); DataLength = a_.ReadInt("dataLength"); NumChildren = a_.ReadInt("numChildren"); Pzxid = a_.ReadLong("pzxid"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, string tag) { a_.StartRecord(tag); this.Type = a_.ReadInt("type"); this.Zxid = a_.ReadLong("zxid"); this.Data = a_.ReadBuffer("data"); IIndex index = a_.StartVector("authinfo"); if (index != null) { List <ZKId> zkIdList = new List <ZKId>(); while (!index.Done()) { ZKId zkId = new ZKId(); a_.ReadRecord((IRecord)zkId, "e1"); zkIdList.Add(zkId); index.Incr(); } this.Authinfo = (IEnumerable <ZKId>)zkIdList; } a_.EndVector("authinfo"); a_.EndRecord(tag); }
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); }
public void Deserialize(IInputArchive archive, string tag) { lock (locker) { archive.StartRecord("node"); data = archive.ReadBuffer("data"); acl = archive.ReadLong("acl"); stat = new StatPersisted(); stat.Deserialize(archive, "statpersisted"); archive.EndRecord("node"); } }
public void Deserialize(IInputArchive archive, string tag) { try { SpinWait.SpinUntil(() => Interlocked.CompareExchange(ref lockedInt, 1, 0) == 0); archive.StartRecord("node"); data = archive.ReadBuffer("data"); acl = archive.ReadLong("acl"); stat = new StatPersisted(); stat.Deserialize(archive, "statpersisted"); archive.EndRecord("node"); } finally { Interlocked.Exchange(ref lockedInt, 0); } }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Serverid=a_.ReadLong("serverid"); ProtocolVersion=a_.ReadInt("protocolVersion"); a_.EndRecord(tag); }