You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gossip.apache.org by "Gary Dusbabek (JIRA)" <ji...@apache.org> on 2017/04/20 15:37:04 UTC

[jira] [Created] (GOSSIP-82) Messages need to be refactored

Gary Dusbabek created GOSSIP-82:
-----------------------------------

             Summary: Messages need to be refactored
                 Key: GOSSIP-82
                 URL: https://issues.apache.org/jira/browse/GOSSIP-82
             Project: Gossip
          Issue Type: Improvement
            Reporter: Gary Dusbabek
            Assignee: Gary Dusbabek


The message classes (things that get send across the wire) are confusing for the following reasons:
* Abstract classes where a simple tagging interface would suffice (look at the classes that extend other classes but do not add any fields or methods)
* Trackable should be built into to probably every message
* The UDP implementations are probably superfluous.

I'd like to see a flatter inheritance structure and more use of interfaces vs abstract classes.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)