Hi Steve, On Nov 19, 2007 6:15 AM, steview <[EMAIL PROTECTED]> wrote: > > Hi, > I have a requirement similar to the following > > A client connects on a well known port and then is issued a directive to > another port to connect to (all this is tcp/ip based). > > This can be a growing list of ports (possibly thousands) - I want to deal > with using the 2.0 mina trunk - however, I am struggling with the concepts > in 2.0. > In 1.x I believe I could have used the acceptor.bind(localAddress, handler, > config) method to add these ports to the existing acceptor (which was > laready running) .
SimpleIoProcessorPool is not for acceptor/connector threads but for I/O processor threads. You could set multiple addresses to bind by calling setAddresses(). Isn't it sufficient for you? Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
