Hi, After talking with Peter I'm trying to add reconnection features to sockets. It's in the form of a reconnection() method in SocketConnector for recycling a closed IoSession. It's a bit tricky but look like working.
My last problem is why when the session is closed the filter chain is cleared ? Because it preventing me to keep the inited filterchain after a reconnection. Some solutions : - remove the "session.getFilterChain().clear();" when the session is closed - recall IoHandler.sessionCreated(...) when a session is reconnected. normaly it will recreate the filterchain because it's where everybody puut the filter creation code. The last solution can be confusing because a session can be created multiple time.. WDYT ? Julien
smime.p7s
Description: S/MIME cryptographic signature
