/// <summary>
 /// 设置协议和会话包装对象
 /// </summary>
 /// <param name="protocol">协议</param>
 /// <param name="wrapper">会话的包装对象</param>
 public void SetProtocolWrapper(Protocol protocol, IWrapper wrapper)
 {
     this.Protocol = protocol;
     this.Wrapper  = wrapper;
 }