dev@grizzly.java.net

SelectorHandler.setPipeline() ?

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Thu, 22 Nov 2007 17:45:44 +0100

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?

Thanks.

WBR,
Alexey.