directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Vermillard <jvermill...@archean.fr>
Subject Re: Session Idle time not working
Date Wed, 08 Jun 2005 10:08:23 GMT
Le mercredi 08 juin 2005 à 13:00 +0300, Horia Muntean a écrit :
> Hello,
> 
> I was trying to configure a session to close itself in case of idle
> time expiration. I am using mina-0.7.2.jar (grabbed from
> http://cvs.apache.org/repository/directory-network/jars/) on a WinXP
> box. The code follows:
> <code>
>     public void sessionCreated(ProtocolSession session) throws Exception {

Hi,

Try to do that in sessionOpened (it works for me). Anyway I reconize
it's a trap, perhaps it shoudl throw somekind of exception if you
configure the session IDLE before it was opened ?

Julien




Mime
View raw message