sessionIdle cannot detect a missing response to a specific message,
that capability is always protocol specific. It can, however, detect
idle TCP connections where no messages being sent, received, or both.

HTH
-Greg

On 9/22/06, Paul Chen <[EMAIL PROTECTED]> wrote:
Hi, folks,

http://directory.apache.org/subprojects/mina/faq.html#support

says:

---
You can't use sessionIdle event simply here. You'll have to use
java.util.Timer and java.util.TimerTask (or OpenSymphony
Quartz<http://www.opensymphony.com/quartz/>as an alternative).
Schedule a timeout task to be executed on timeout
situation for each request message, and cancel it when you receive the
corresponding response message.
---

Then when is sessionIdle being used?

Thanks for comments


Reply via email to