The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: Stefan Weber <stefan.we...@gmail.com>
Date: Thu, 12 Nov 2009 15:08:08 +0100
Local: Thurs, Nov 12 2009 9:08 am
Subject: Re: Threading Policies
On Thu, Nov 12, 2009 at 2:56 PM, Sergio Bossa <sergio.bo...@gmail.com>wrote:
> I've lost you there: even if you get a generic Message instance,
It makes sense, but unfortunately not for my use case ;)
> CoreHandler works by reflection and you don't need to do any wrapping. > In other words, if you get a generic Message whose actual type is > BarMessage, and you annotate your handler object with > @OnMessage(type=BarMessage.class), CoreHandler will call the correct > method. > Does it make sense for your use case, or am I getting it wrong?
In short: the dynamic type of the Message I'm getting is NOT BarMessage.
Example: I get an ASCII string from the network and wrap it in a Message.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||