ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Polovtcev (Jira)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-15018) Add support for message inheritance for @Transferable
Date Mon, 28 Jun 2021 09:52:00 GMT
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)

Mime
View raw message