Stream corruption with multiple producers -> SOLVED

"Trustin Lee (이희승)" trustin at gmail.com
Mon Dec 28 07:00:06 EST 2009


Hi Luis and Shay,

Did you find the current documentation confusing about setting up the
pipeline?  I'd like to know where to improve since it's important to
make sure to help users avoid any API misunderstandings.

Thanks,
Trustin

Shay Banon wrote:
> In the shared pipleline case, the same pipeline is used for all channels
> (don't get confused with the *documentation* annotation, which is just
> that, a documentation one, on the handlers). With the factory, a
> pipeline is created per channel so you won't get corruptions.
> 
> Shay
> 
> On Sun, Dec 27, 2009 at 5:15 PM, Luis Neves <luis.neves at gmail.com
> <mailto:luis.neves at gmail.com>> wrote:
> 
>     On 12/27/2009 01:34 PM, Shay Banon wrote:
>     > In the TestServer, instead of adding handlers to the pipeline of the
>     > bootstrap, you need to add a pipeline factory, that will create the
>     > pipeline you want. Something like:
>     >
>     > [... snip ..]
> 
>     Thanks!
>     For some reason that does the trick.
> 
>     I was under the impression that both idioms were equivalent  to setup
>     the pipeline... I was wrong.
> 
>     Thanks again.
> 
>     Regards.
> 
>     --
>     Luis Neves
>     _______________________________________________
>     netty-users mailing list
>     netty-users at lists.jboss.org <mailto:netty-users at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/netty-users
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20091228/91f89998/attachment.bin 


More information about the netty-users mailing list