Just to clarify this further, because I don't think I described what I
wanted to properly.

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.  So for each port, you will have an
associated handler but this will all go through a common Selector.  The goal
here is to keep the number of threads at a minimum. I am building a system
that may be listening on many different ports and each port will get
different types of data.  The number of ports could be over 20.

Taking a quick look at the current SocketAcceptor, this would be alot of
work.
-- 
..Cheers
Mark

On 9/19/07, Mark <[EMAIL PROTECTED]> wrote:
>
> Can this be done with MINA now?  I would like to put together a framework
> that will have one Acceptor and register multiple IoHandlerApapters each
> processing different types of data.
>
> --
> ..Cheers
> Mark

Reply via email to