public MessageHeader(CMPP_COMMAND_ID commandId, uint sequenceId) : this(HEAD_LENTH, commandId, sequenceId) { }
public MessageHeader(uint totalLength, CMPP_COMMAND_ID commandId, uint sequenceId) { TotalLength = totalLength; CommandId = commandId; SequenceId = sequenceId; }
public CMPP_MSG_Header(CMPP_COMMAND_ID Command_ID) //发送前 { BIConvert.Int2Bytes((uint)Command_ID).CopyTo(initValue, 4); }