Ilya Shishkov created IGNITE-27848:
--------------------------------------

             Summary: Use MessageSerializer for TcpDiscoveryCustomEventMessage
                 Key: IGNITE-27848
                 URL: https://issues.apache.org/jira/browse/IGNITE-27848
             Project: Ignite
          Issue Type: Task
            Reporter: Ilya Shishkov
            Assignee: Ilya Shishkov


Excessive wrapping and tangled class hierarchy complicate migration of 
discovery custom messages to the new message framework:
{{DiscoveryCustomMessage}} is wrapped into {{CustomMessageWrapper}} (implements 
{{DiscoverySpiCustomMessage}}), which in turn is wrapped by 
{{TcpDiscoveryCustomEventMessage}} ({{TcpDiscoveryAbstractMessage}} hierarchy).
 
*What can be done:*
* {{CustomMessageWrapper}} (extends {{DiscoverySpiCustomMessage}}) can be 
deleted, it is just a wrapper.
* {{DiscoverySpiCustomMessage}} can be deleted.
* All {{DiscoverySpiCustomMessage}} inheritors can inherit from 
{{DiscoveryCustomMessage}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to