public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Perms=a_.ReadInt("perms"); Id= new Org.Apache.Zookeeper.Data.ZKId(); a_.ReadRecord(Id,"id"); a_.EndRecord(tag); }
public void Deserialize(IInputArchive a_, String tag) { a_.StartRecord(tag); Perms = a_.ReadInt("perms"); Id = new Org.Apache.Zookeeper.Data.ZKId(); a_.ReadRecord(Id, "id"); a_.EndRecord(tag); }
public ACL( int perms , Org.Apache.Zookeeper.Data.ZKId id ) { Perms = perms; Id = id; }
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); 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); }