Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-4601

Refactor TcrMessage - resolve accessor encapsulation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • native client
    • 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:

      1. Move it into the TcrMessageReply class.
      2. 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ahuddy Addison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: