No.  You have to call sessionClosed() yourself if you would like.  The MINA
framework provides you that level of flexibility and you may use it as you
wish.

-- 
..Cheers
Mark

On 8/7/07, Gohan <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> When implementing a subclass of IoHandlerAdapter, is sessionClosed(..)
> always called even after exceptionCaught(..) has been called? The reason
> I'm
> asking is because I wonder if I have to call my "cleanup" method in both
> sessionClosed(..) and exceptionCaught(..) or if it's enough to just call
> it
> in sessionClosed(..).
>
> Thanks
> --
> View this message in context:
> http://www.nabble.com/Is-sessionClosed-called-after-exceptionCaught--tf4230055s16868.html#a12034063
> Sent from the Apache MINA Support Forum mailing list archive at Nabble.com
> .
>
>

Reply via email to