Пример #1
0
 /// <summary>
 ///   基类构造函数
 /// </summary>
 /// <param name="bodyBytes"></param>
 /// <param name="header"></param>
 protected BaseMsg(byte[] bodyBytes, MsgHeaderEnt header)
     : this(header)
 {
     FormatContentBytes(bodyBytes);
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="commandType"></param>
 protected BaseMsg(CommandType commandType)
 {
     MsgHeader = new MsgHeaderEnt(commandType);
 }
Пример #3
0
 /// <summary>
 ///  基类构造函数,响应返回时使用
 /// </summary>
 /// <param name="ent"></param>
 protected BaseMsg(MsgHeaderEnt ent)
 {
     MsgHeader = ent;
 }
Пример #4
0
 public UnKnowResp(byte[] bodyBytes, MsgHeaderEnt header)
     : base(bodyBytes, header)
 {
 }
Пример #5
0
 public ActiveTestResp(byte[] bodyBytes, MsgHeaderEnt header)
     : base(bodyBytes, header)
 {
 }
Пример #6
0
 public ConnectResp(byte[] bodyBytes, MsgHeaderEnt header)
     : base(bodyBytes, header)
 {
 }
Пример #7
0
        //public const int BodyLength = 8 + 4;


        public SubmitResp(byte[] bodyBytes, MsgHeaderEnt header)
            : base(bodyBytes, header)
        {
        }
Пример #8
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="bodyBytes"></param>
 public DeliverResp(byte[] bodyBytes, MsgHeaderEnt header)
     : base(bodyBytes, header)
 {
 }