[
https://issues.apache.org/jira/browse/IGNITE-26230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Puchkovskiy updated IGNITE-26230:
---------------------------------------
Description:
DirectMessageReader and DirectMessageWriter work together as they use the same
format to send/receive messages.
It makes sense to add a MessageFormat abstraction serving as an abstract
factory for both MessageReader and MessageWriter so that:
# It becomes clear from the code that the implementations are used as a pair
# It is easier to add an alternative MessageFormat
Implementation creating DirectMessageReader and DirectMessageWriter can be
called NaiveMessageFormat.
was:
DirectMessageReader and DirectMessageWriter work together as they use the same
format to send/receive messages.
It makes sense to add a MessageFormat abstraction serving as an abstract
factory for both MessageReader and MessageWriter so that:
# It becomes clear from the code that the implementations are used as a pair
# It is easier to add an alternative MessageFormat
> Introduce MessageFormat
> -----------------------
>
> Key: IGNITE-26230
> URL: https://issues.apache.org/jira/browse/IGNITE-26230
> Project: Ignite
> Issue Type: Improvement
> Components: network ai3
> Reporter: Roman Puchkovskiy
> Assignee: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
>
> DirectMessageReader and DirectMessageWriter work together as they use the
> same format to send/receive messages.
> It makes sense to add a MessageFormat abstraction serving as an abstract
> factory for both MessageReader and MessageWriter so that:
> # It becomes clear from the code that the implementations are used as a pair
> # It is easier to add an alternative MessageFormat
> Implementation creating DirectMessageReader and DirectMessageWriter can be
> called NaiveMessageFormat.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)