Aleksandar Lazic wrote:
The easiest way to do that is to have a class in your application that
extends the IoHandler interface : it will handle the messageReceived
event.

I have a used the IoHandlerAdapter isn't it enough?
It's ok, as this Adapter implements IoHandler.
I use the IoHandler, I yust want to reuse the connection which I have
created at server startup time.
Which connection ? The connection to your backend (whatever it is, but let's assume it's a JDBC connection, even if it's not) ?

If so, as soon as the messageReceived() method can have access to this connection, then you are all set.

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to