I am trying to maintain several IoSession to different devices, using
different protocols all at the same time. However, when I set the
Reader Idle time for any one session it affects all sessions.
Debugging has revealed that IoSession.getConfig() is returning the same
IoSessionConfig object when called from multiple IoSessions.
I put a debug line similar to:
logger.debug("Session ["+session.getId()+"], Config
["+session.getConfig()+"]");
just inside my ProtocolHandler object (extends IoHandlerAdapter)
methods: sessionOpened(), sessionClosed(), exceptionCaught(), and
messageReceived().
Three different IoSessions are opened, using three different protocol
handlers all descended from the above object. The debug reveals the
same session.getConfig() result even while reporting different
session.getId() results.
Thanks in advance!!
boB