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


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