Message.directType

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Message.directType

Yuriy Babak
Hi all!

I want to create new custom implementation of org.apache.ignite.plugin.extensions.communication.Message and I want avoid conflicts in message type. So did we have the list of all reserved types?

Thanks,
Yury
Reply | Threaded
Open this post in threaded view
|

Re: Message.directType

Ilya Lantukh
Yury,

All message type IDs are listed in GridIoMessageFactory#create(...) method
in switch block. You can check there which IDs are still free.

On Fri, May 19, 2017 at 6:44 PM, Yury Babak <[hidden email]> wrote:

> Hi all!
>
> I want to create new custom implementation of
> org.apache.ignite.plugin.extensions.communication.Message and I want avoid
> conflicts in message type. So did we have the list of all reserved types?
>
> Thanks,
> Yury
>
>
>
> --
> View this message in context: http://apache-ignite-
> developers.2346864.n4.nabble.com/Message-directType-tp17828.html
> Sent from the Apache Ignite Developers mailing list archive at Nabble.com.
>



--
Best regards,
Ilya
Reply | Threaded
Open this post in threaded view
|

Re: Message.directType

Yuriy Babak
Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Message.directType

Alexey Goncharuk
That's not entirely true, unfortunately. Note that there may be registered
a number of extensions, which may theoretically conflict with already
listed IDs. I think we should create some sort of lookup table and make
sure that there are no duplicates after all extensions are registered, this
will save us a lot of time during development.

Yury, would you mind filing a ticket?

2017-05-19 18:53 GMT+03:00 Yury Babak <[hidden email]>:

> Thanks!
>
>
>
> --
> View this message in context: http://apache-ignite-
> developers.2346864.n4.nabble.com/Message-directType-tp17828p17830.html
> Sent from the Apache Ignite Developers mailing list archive at Nabble.com.
>