Example #1
0
  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);
}
Example #2
0
 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);
 }
Example #3
0
 public ACL(
     int perms
     ,
     Org.Apache.Zookeeper.Data.ZKId id
     )
 {
     Perms = perms;
     Id    = id;
 }
Example #4
0
  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);
}
Example #5
0
 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);
 }