bayeux4netty suggestions

Dai Jun guiwuu at gmail.com
Wed Sep 2 03:59:45 EDT 2009


Hi all,

On Wed, Sep 2, 2009 at 8:48 AM, Bob McWhirter<bmcwhirt at redhat.com> wrote:
>
> On Sep 1, 2009, at 8:44 PM, Bob McWhirter wrote:
>
>>>> I'd ultimately like a router.send(PublishRequest r) or
>>>> router.send(BayeuxData m), plus a List<X> form of those.
>>>
>>> Would PublishRequest... and BayeuxData... (varargs) also be useful?
>>
>> I think List<X> suffices for my immediate use-case.
>
> And I guess List<BayeuxData> probably wouldn't work, since I need to
> associate a channel for each BayeuxData.

En, because a BayeuxData is not a Bayeux message entity. It's only a
property type of entity and don't contains routing information. But we
can add such a method to BayeuxConnection to send directly, like
connection.send(channel, bayeuxData).

>
> But I still want batching, on the server-side, one way or another. :)
>
>        -Bob
> _______________________________________________
> netty-dev mailing list
> netty-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-dev
>


Best regards,

Dai Jun or Danny Dai(in English) - http://guiwuu.googlepages.com
GTalk: guiwuu at gmail.com | QQ: 93409048 | MSN: guiwuu at hotmail.com |
Twitter: @guiwuu
Sent from Beijing, 11, China
Joan Crawford  - "I, Joan Crawford, I believe in the dollar.
Everything I earn, I spend." -
http://www.brainyquote.com/quotes/authors/j/joan_crawford.html



More information about the netty-dev mailing list