dev@grizzly.java.net

Re: SelectorHandler.setPipeline() ?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 22 Nov 2007 12:31:47 -0500

Salut,

Oleksiy Stashok wrote:
> Hello,
>
> guys, we currently have SelectorHandler.pipeline() method, which returns
> the Pipeline, which is associated with the SelectorHandler instance. We
> don't have any setPipeline() method on SelectorHandler. Custom
> SelectorHandler implementations like TCPSelectorHandler, UDP..., SSL...
> doesn't have this method also, so only the way to use custom pipeline
> for SelectorHandler is to extend base TCP, UDP, SSL SelectorHandler and
> override pipeline() method.
>
> Would it make sense to introduce one more method to a SelectorHandler
> interface: setPipeline() to make this customization easier?

+1

-- Jeanfrancois

>
> Thanks.
>
> WBR,
> Alexey.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>