Pipeline Bug?

Thomas Bocek bocek at ifi.uzh.ch
Tue Jul 14 07:26:35 EDT 2009


Hi,

I just found out, its not a bug, as creating a channel also opens a
channel. I thought opening a channel would be triggered by a connect.
From ChannelFactory.newChannel -> Creates and opens a new {@link
Channel} and attaches the specified {@link ChannelPipeline} to the new
{@link Channel}. So, its a feature and not a bug ;)

Regards,

Thomas

Thomas Bocek wrote:
> Hi,
> 
> I wrote a testcase that should succeed in my opinion with Netty
> 3.1.0.CR1. In the testcase, a handler is added to a pipeline, then a new
> channel is created. After than another handler is added. However, in
> this second handler, channelOpen is never called, while channelBound is
> called as expected. Is this a bug?
> 
> Regards,
> 
> Thomas
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> netty-dev mailing list
> netty-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-dev/attachments/20090714/1af063ac/attachment.bin 


More information about the netty-dev mailing list