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