I want to know immediately when MINA disconnected from client, But I have no way. If MINA disconnected from client, generally as we know sesseionClose() in IoHandlerAdapter be not called immediately. It needs few seconds.(about 15~20)
That's whay I need to know result of IoSession.write() wheather successful or not. Ofcourse we have write(object).isWrittend() or .isDone() in IoFutureListener or something like that. Even though client has disconnect, it always return "true" before MINA recognize disconnection from client. So I can't trust in that. How to know state of disconnection immediately? or packet delivered to client successfully? PS. I will not use Handshaking module likes keepalive or ping-pong. Anybody please help me. -- View this message in context: http://apache-mina.10907.n7.nabble.com/How-to-know-result-of-IoSession-write-wheather-successful-or-not-tp40306.html Sent from the Apache MINA User Forum mailing list archive at Nabble.com.
