You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Bessonov (Jira)" <ji...@apache.org> on 2021/07/02 09:28:00 UTC

[jira] [Updated] (IGNITE-15018) Add support for message inheritance for @Transferable

     [ https://issues.apache.org/jira/browse/IGNITE-15018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Bessonov updated IGNITE-15018:
-----------------------------------
    Ignite Flags:   (was: Docs Required,Release Notes Required)

> Add support for message inheritance for @Transferable
> -----------------------------------------------------
>
>                 Key: IGNITE-15018
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15018
>             Project: Ignite
>          Issue Type: Task
>          Components: networking
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Aleksandr Polovtcev
>            Assignee: Aleksandr Polovtcev
>            Priority: Minor
>              Labels: ignite-3
>             Fix For: 3.0.0-alpha3
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {{@Transferable}} annotation should support message inheritance: it can be placed on an interface that extends another interface that declares some message fields. These fields should be present in the generated implementations.
> For example:
> {code:java}
> interface A extends NetworkMessage {
>     int a();
> }
> @Transferable
> interface B extends A {
>     int b();
> }
> {code}
> The "{{a}}" field must be present in the generated implementation for {{B}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)