Mark Webb wrote:
> 
> I am interested in having one IoAcceptor listen on multiple ports.  This
> acceptor will have one Selector and based on the incoming connection/data,
> the proper handler will be triggered.

This would be pretty useful for me as well.  I have a server that will be
handling essentially the same data over 2 different protocols on 2 different
ports.  For each protocol the handling would be slightly different, so a
separate IoHandlerAdapter on each port would be useful.

This capability seemed to be present in the 1.1.x releases with the:
SocketAcceptor.bind(SocketAddress, IoHandler, IoServiceConfig) 

method (don't know if it worked the way I expected with multiple calls). 
Was this causing problems that were fixed with the current restructuring in
the trunk?

Thanks,
Gary
-- 
View this message in context: 
http://www.nabble.com/multiple-handlers-per-IoService-tf4481513s16868.html#a12799299
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Reply via email to