SimpleChannelHander query

Trustin Lee trustin at gleamynode.net
Wed Dec 31 10:51:17 EST 2008


I'm not sure I understood your question correctly, but here's my answer. :-)

Even if you have specified ChannelPipelineCoverage as "one", it doesn't
necessarily mean that a new ChannelHandler instance will be created for each
Channel automatically.  You need to create it by yourself in your
ChannelPipelineFactory.  Please refer to the Factorial example:

   - http://tinyurl.com/6wgwtd

HTH,
Trustin*
*
On Tue, Dec 30, 2008 at 8:26 PM, manish_iitg <
excellencetechnologies08 at gmail.com> wrote:

> I have ChannelPipelineCoverage as "one" in my for my server handler. Even
> then after i close my connection from the client by called
> e.getChannl().close() and then after some time again start a connection by
> bind to the server, a new instance of server handler is not create. Please
> tell my what i am doing wrong. What i want is that, when a client connects
> to the server a new server handler should be created.


-- 
Trustin Lee, Principal Software Engineer, JBoss, a division of Red Hat
--
what we call human nature in actuality is human habit
--
http://gleamynode.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20090101/1e4b3e61/attachment.html 


More information about the netty-users mailing list