/// <summary>
 /// 反序列化
 /// </summary>
 /// <param name="formatter"></param>
 public void Read(Utils.IFormatter formatter)
 {
     this.ProtocolVersion = formatter.ReadInt32();
     this.SessionTimeOut = formatter.ReadInt32();
     this.SessionID = formatter.ReadInt64();
     this.SessionPassword = formatter.ReadBuffer();
 }
 /// <summary>
 /// read
 /// </summary>
 /// <param name="formatter"></param>
 public void Read(Utils.IFormatter formatter)
 {
     this.Data = formatter.ReadBuffer();
     this.Stat = formatter.ReadRecord<Stat>();
 }