added back clear CommandMessage function
This commit is contained in:
parent
e2a36efce3
commit
85cc936d5d
@ -68,6 +68,10 @@ size_t CommandMessage::getMinimumMessageSize() const {
|
|||||||
return MINIMUM_COMMAND_MESSAGE_SIZE;
|
return MINIMUM_COMMAND_MESSAGE_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CommandMessage::clearCommandMessage() {
|
||||||
|
clear();
|
||||||
|
}
|
||||||
|
|
||||||
void CommandMessage::clear() {
|
void CommandMessage::clear() {
|
||||||
CommandMessageCleaner::clearCommandMessage(this);
|
CommandMessageCleaner::clearCommandMessage(this);
|
||||||
}
|
}
|
||||||
|
@ -111,7 +111,9 @@ public:
|
|||||||
ReturnValue_t getReplyRejectedReason(
|
ReturnValue_t getReplyRejectedReason(
|
||||||
Command_t* initialCommand = nullptr) const override;
|
Command_t* initialCommand = nullptr) const override;
|
||||||
|
|
||||||
|
|
||||||
virtual void clear() override;
|
virtual void clear() override;
|
||||||
|
void clearCommandMessage();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extract message ID, which is the first byte of the command ID for the
|
* Extract message ID, which is the first byte of the command ID for the
|
||||||
|
Loading…
Reference in New Issue
Block a user