Hi Michal, On 4/15/06, Michal Slocinski <[EMAIL PROTECTED]> wrote: > > Hello, > > I've some difficulties with setting idle timeout for read when using > mina as datagram packet client. > > I tried already: > session.setIdleTime(IdleStatus.READER_IDLE, 1); > > in few places (inside code which creates session and inside > sessionCreated method of my IoHandler) but still without success. > > Maybe I've wrong assumptions, but I assumed that if after sending > message I won't receive response, sessionIdle will be called on my > handler. > > Am I doing everything right or this is a bug?
Datagram is connectionless so it is ambiguous to determine when a session is idle. So we don't call sessionIdle at all in case of datagram sessions. There's a related issue here: http://issues.apache.org/jira/browse/DIRMINA-162 HTH, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP key fingerprints: * E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E * B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6
