Helllo, I have written a mina server which uses a JNI interface to a non-threadsafe library(which has class REngine) Suppose I receive a connection, depending on the message recieved in
public void messageReceived(IoSession session, Object message) can return in 1 minute or 40 minutes. Will this prevent other connections from arriving? I was under the impression that the IoHandlerAdapter subclass is instantiated every time a new connection arrives, but this is not true. What I would really like is to spawn new instance of REngine every time a new connection arrives. Is MINA appropriate the right thing to use? Many thanks Saptarshi -- Saptarshi Guha - [email protected]
