public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Path = a_.ReadString("path"); Watch = a_.ReadBool("watch"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Type=a_.ReadInt("type"); Done=a_.ReadBool("done"); Err=a_.ReadInt("err"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Path = a_.ReadString("path"); Data = a_.ReadBuffer("data"); { IIndex vidx1 = a_.StartVector("acl"); if (vidx1 != null) { var tmpLst = new System.Collections.Generic.List <Org.Apache.Zookeeper.Data.ACL>(); for (; !vidx1.Done(); vidx1.Incr()) { Org.Apache.Zookeeper.Data.ACL e1; e1 = new Org.Apache.Zookeeper.Data.ACL(); a_.ReadRecord(e1, "e1"); tmpLst.Add(e1); } Acl = tmpLst; } a_.EndVector("acl"); } Ephemeral = a_.ReadBool("ephemeral"); ParentCVersion = a_.ReadInt("parentCVersion"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Type = a_.ReadInt("type"); Done = a_.ReadBool("done"); Err = a_.ReadInt("err"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Path=a_.ReadString("path"); Data=a_.ReadBuffer("data"); { IIndex vidx1 = a_.StartVector("acl"); if (vidx1!= null) { var tmpLst=new System.Collections.Generic.List<Org.Apache.Zookeeper.Data.ACL>(); for (; !vidx1.Done(); vidx1.Incr()) { Org.Apache.Zookeeper.Data.ACL e1; e1= new Org.Apache.Zookeeper.Data.ACL(); a_.ReadRecord(e1,"e1"); tmpLst.Add(e1); } Acl=tmpLst; } a_.EndVector("acl"); } Ephemeral=a_.ReadBool("ephemeral"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, string tag) { a_.StartRecord(tag); this.Path = a_.ReadString("path"); this.Data = a_.ReadBuffer("data"); IIndex index = a_.StartVector("acl"); if (index != null) { List <ACL> list = new List <ACL>(); while (!index.Done()) { ACL r = new ACL(); a_.ReadRecord(r, "e1"); list.Add(r); index.Incr(); } this.Acl = list; } a_.EndVector("acl"); this.Ephemeral = a_.ReadBool("ephemeral"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, string tag) { a_.StartRecord(tag); this.Path = a_.ReadString("path"); this.Data = a_.ReadBuffer("data"); IIndex index = a_.StartVector("acl"); if (index != null) { List <ACL> aclList = new List <ACL>(); while (!index.Done()) { ACL acl = new ACL(); a_.ReadRecord((IRecord)acl, "e1"); aclList.Add(acl); index.Incr(); } this.Acl = (IEnumerable <ACL>)aclList; } a_.EndVector("acl"); this.Ephemeral = a_.ReadBool("ephemeral"); this.ParentCVersion = a_.ReadInt("parentCVersion"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Path=a_.ReadString("path"); Watch=a_.ReadBool("watch"); a_.EndRecord(tag); }