Jeff Genender wrote:

<snip>
> I think this timeout is a different timeout in implementation...that is
> unless this was added to 2.0, then duplication may be correct.  Its a
> response timeout, not socket timeout...I think thats different.

MINA has support for triggering events for read idle, write idle, or
both.  See IoSession.setIdleTime(IdleStatus, int) in MINA 1.x and
IoSession.getConfig().setIdleTime(IdleStatus,int) in MINA 2.  The idle
events get handled by IoHandler.sessionIdle(IoSession, IdleStatus) in
both versions.

<snip>

> I like the plan...seems like a good way to go.


Thanks for the feedback.  I'll get started on this tomorrow.

-Mike

Reply via email to