Esempio n. 1
0
  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);
}
Esempio n. 2
0
  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);
}
Esempio n. 3
0
  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);
}
Esempio n. 4
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Xid  = a_.ReadInt("xid");
     Type = a_.ReadInt("type");
     a_.EndRecord(tag);
 }
Esempio n. 5
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    Type=a_.ReadInt("type");
    State=a_.ReadInt("state");
    Path=a_.ReadString("path");
    a_.EndRecord(tag);
}
Esempio n. 6
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Type  = a_.ReadInt("type");
     State = a_.ReadInt("state");
     Path  = a_.ReadString("path");
     a_.EndRecord(tag);
 }
Esempio n. 7
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    ProtocolVersion=a_.ReadInt("protocolVersion");
    TimeOut=a_.ReadInt("timeOut");
    SessionId=a_.ReadLong("sessionId");
    Passwd=a_.ReadBuffer("passwd");
    a_.EndRecord(tag);
}
Esempio n. 8
0
 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);
 }
Esempio n. 9
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Rc       = a_.ReadInt("rc");
     Op       = a_.ReadInt("op");
     Response = a_.ReadBuffer("response");
     a_.EndRecord(tag);
 }
Esempio n. 10
0
 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);
 }
Esempio n. 11
0
 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);
 }
Esempio n. 12
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     ProtocolVersion = a_.ReadInt("protocolVersion");
     TimeOut         = a_.ReadInt("timeOut");
     SessionId       = a_.ReadLong("sessionId");
     Passwd          = a_.ReadBuffer("passwd");
     a_.EndRecord(tag);
 }
Esempio n. 13
0
  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);
}
Esempio n. 14
0
 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);
 }
Esempio n. 15
0
 public void Deserialize(IInputArchive a_, string tag)
 {
     a_.StartRecord(tag);
     this.ProtocolVersion = a_.ReadInt("protocolVersion");
     this.LastZxidSeen    = a_.ReadLong("lastZxidSeen");
     this.TimeOut         = a_.ReadInt("timeOut");
     this.SessionId       = a_.ReadLong("sessionId");
     this.Passwd          = a_.ReadBuffer("passwd");
     a_.EndRecord(tag);
 }
Esempio n. 16
0
  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);
}
Esempio n. 17
0
 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);
 }
Esempio n. 18
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);
 }
Esempio n. 19
0
 public void Deserialize(IInputArchive a_, string tag)
 {
     a_.StartRecord(tag);
     this.Path    = a_.ReadString("path");
     this.Version = a_.ReadInt("version");
     a_.EndRecord(tag);
 }
Esempio n. 20
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    Type=a_.ReadInt("type");
    Scheme=a_.ReadString("scheme");
    Auth=a_.ReadBuffer("auth");
    a_.EndRecord(tag);
}
Esempio n. 21
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);
}
Esempio n. 22
0
 /// <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);
 }
Esempio n. 23
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Path = a_.ReadString("path");
     Max  = a_.ReadInt("max");
     a_.EndRecord(tag);
 }
Esempio n. 24
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    Path=a_.ReadString("path");
    Data=a_.ReadBuffer("data");
    Version=a_.ReadInt("version");
    a_.EndRecord(tag);
}
Esempio n. 25
0
 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);
 }
Esempio n. 26
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Serverid        = a_.ReadLong("serverid");
     ProtocolVersion = a_.ReadInt("protocolVersion");
     a_.EndRecord(tag);
 }
Esempio n. 27
0
File: Txn.cs Progetto: Bart-Li/Base
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Type = a_.ReadInt("type");
     Data = a_.ReadBuffer("data");
     a_.EndRecord(tag);
 }
Esempio n. 28
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Path    = a_.ReadString("path");
     Data    = a_.ReadBuffer("data");
     Version = a_.ReadInt("version");
     a_.EndRecord(tag);
 }
Esempio n. 29
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Perms = a_.ReadInt("perms");
     Id    = new ZKId();
     a_.ReadRecord(Id, "id");
     a_.EndRecord(tag);
 }
Esempio n. 30
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Type   = a_.ReadInt("type");
     Scheme = a_.ReadString("scheme");
     Auth   = a_.ReadBuffer("auth");
     a_.EndRecord(tag);
 }
Esempio n. 31
0
 public void Deserialize(IInputArchive a_, string tag)
 {
     a_.StartRecord(tag);
     this.Perms = a_.ReadInt("perms");
     this.Id    = new ZKId();
     a_.ReadRecord((IRecord)this.Id, "id");
     a_.EndRecord(tag);
 }
Esempio n. 32
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    Path=a_.ReadString("path");
    {
      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");
    }
    Version=a_.ReadInt("version");
    a_.EndRecord(tag);
}
Esempio n. 33
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);
}
Esempio n. 34
0
        public void Deserialize(IInputArchive a_, string tag)
        {
            a_.StartRecord(tag);
            this.Path = a_.ReadString("path");
            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.Version = a_.ReadInt("version");
            a_.EndRecord(tag);
        }
Esempio n. 35
0
        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);
        }
Esempio n. 36
0
        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.Flags = a_.ReadInt("flags");
            a_.EndRecord(tag);
        }
Esempio n. 37
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Path = a_.ReadString("path");
     {
         IIndex vidx1 = a_.StartVector("acl");
         if (vidx1 != null)
         {
             var tmpLst = new System.Collections.Generic.List <ACL>();
             for (; !vidx1.Done(); vidx1.Incr())
             {
                 ACL e1;
                 e1 = new ACL();
                 a_.ReadRecord(e1, "e1");
                 tmpLst.Add(e1);
             }
             Acl = tmpLst;
         }
         a_.EndVector("acl");
     }
     Version = a_.ReadInt("version");
     a_.EndRecord(tag);
 }
Esempio n. 38
0
 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 List <ACL>();
             for (; !vidx1.Done(); vidx1.Incr())
             {
                 ACL e1;
                 e1 = new ACL();
                 a_.ReadRecord(e1, "e1");
                 tmpLst.Add(e1);
             }
             Acl = tmpLst;
         }
         a_.EndVector("acl");
     }
     Flags = a_.ReadInt("flags");
     a_.EndRecord(tag);
 }
Esempio n. 39
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);
 }
Esempio n. 40
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     TimeOut = a_.ReadInt("timeOut");
     a_.EndRecord(tag);
 }
Esempio n. 41
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    TimeOut=a_.ReadInt("timeOut");
    a_.EndRecord(tag);
}
Esempio n. 42
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    Type=a_.ReadInt("type");
    Data=a_.ReadBuffer("data");
    a_.EndRecord(tag);
}
Esempio n. 43
0
 public void Deserialize(IInputArchive a_, String tag)
 {
     a_.StartRecord(tag);
     Err = a_.ReadInt("err");
     a_.EndRecord(tag);
 }
Esempio n. 44
0
  public void Deserialize(IInputArchive a_, String tag) {
    a_.StartRecord(tag);
    Xid=a_.ReadInt("xid");
    Type=a_.ReadInt("type");
    a_.EndRecord(tag);
}
Esempio n. 45
0
 public void Deserialize(IInputArchive a_, string tag)
 {
     a_.StartRecord(tag);
     this.Max = a_.ReadInt("max");
     a_.EndRecord(tag);
 }
Esempio n. 46
0
  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);
    Max=a_.ReadInt("max");
    a_.EndRecord(tag);
}