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

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

Aleksandr Polovtcev created IGNITE-15018:
--------------------------------------------

             Summary: 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


{{@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)