ChannelSink.eventSunk() doesn't catch OPEN state with TRUE as value

Rafael Marins rafael.marins at neociclo.com
Wed Aug 12 10:19:23 EDT 2009


Trustin,


Trustin Lee wrote:
> 
> The solution looks fine anyway, but I would simply define an init()
> method in the ChannelSink implementation and call the init method
> directly rather than handling the initialization in the eventSunk
> method.  Either way will be fine anyway.
> 

Before finding out the solution, or even thought of calling init() in the
ChannelSink from the channel constructor, it was bit confusing that
ChannelSink doesn't handle the OPEN(TRUE) event while the Pipeline javadocs
points that every event downstream to the sink.


Trustin Lee wrote:
> 
> BTW, you might be the first user who implements a custom transport.  I'd
> like to know what difficulties you are having so that I can make Netty
> more extensible.  Please keep posting your story on this if you don't
> mind. :)
> 

Tell you more later.

Regards,

-----
Rafael Marins
Neociclo - http://www.neociclo.com


-- 
View this message in context: http://n2.nabble.com/ChannelSink.eventSunk%28%29-doesn%27t-catch-OPEN-state-with-TRUE-as-value-tp3427637p3431045.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list