You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To enable some annotation aliasing I had to specifically say to a given MessageHandlerMetadata what messages has to be handled through a Reflection workaround.
Currently, the field is private and setting it using Reflection is thus the only way to go. Changing the constructor could provide more flexibility here but I would need to know more details about your specific scenario. What kind of aliasing are you trying to do?
I changed the way how MessageHandler is constructed. You can now flexibly define all necessary properties in a Map. I think that should solve your problem.
Hello again
To enable some annotation aliasing I had to specifically say to a given MessageHandlerMetadata what messages has to be handled through a Reflection workaround.
https://github.com/Blackrush/Rocket/blob/master/network/src/main/java/org/rocket/network/event/mbassador/RocketMetadataReader.java#L66
There is maybe a better way to do it but I cannot find it.
The text was updated successfully, but these errors were encountered: