You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Mirko Adari <mi...@gmail.com> on 2009/11/02 14:05:44 UTC

True single thread model

Hi!

I`m trying to use apache mine for mud (text based game on telnet protocol).
What I want to achieve is:
a. one acceptor thread
b. multiple ioprocessor threads
c. one handler thread, created at start, permanent, doesnt change (this is
the game and its state).

Currently I`m trying this:
acceptor.getFilterChain().addLast("executor", new ExecutorFilter(1));

But the handler thread is created at need basis and changed over time (
Thread.getName() is different).

I`m using apache mina 2.0.0.RC, how to achieve thread model I`m looking for?


Thanks