Yes that's right but for MINA 2.0. I use MINA 1.1. wich IoSession has not closeOnFlush method.
On Fri, Sep 5, 2008 at 12:19 PM, Tuure Laurinolli < [EMAIL PROTECTED]> wrote: > Zlatko Josic wrote: > > Is there any solution to close session after writing all data to a client. >> > > See IoSession javadoc. There is a version of close() that takes boolean to > determine whether to close immediately of after writing queued data, and > also closeOnFlush(), which always waits for writes to complete. > >
