You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Addison (JIRA)" <ji...@apache.org> on 2018/02/05 22:22:00 UTC

[jira] [Created] (GEODE-4603) Refactor TcrMessage - break up processChunk

Addison created GEODE-4603:
------------------------------

             Summary: Refactor TcrMessage - break up processChunk
                 Key: GEODE-4603
                 URL: https://issues.apache.org/jira/browse/GEODE-4603
             Project: Geode
          Issue Type: Task
          Components: native client
            Reporter: Addison


TcrMessage::processChunk contains a giant switch statement which processes the message based on the message type.

Consider separating the process logic for each reply into a unique reply class for each reply type. If we create unique reply classes for each reply then the logic can be broken out among the appropriate reply class rather than a giant proccessChunk which knows how to process every message.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)