Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
TcrMessage has accessor setMessageType() which should be removed from the base class. It is used only on reply messages, not request messages.
Here are some steps we can take:
- Move it into the TcrMessageReply class.
- Remove the accessor entirely by altering internal APIs, e.g. TcrMessageHelper::readChunkPartHeader(), to return a message object rather than taking a reference to a message and then modifying the type.