Hi Erix,

You can do like this:

ioSession.write(someMessage).addListener(IoFutureListener.CLOSE);

Bogdan

On Tue, Nov 4, 2008 at 10:38 AM, Erix Yao <[EMAIL PROTECTED]> wrote:
> While using mina, I didn't know where to call session.close() after I write
> the message to the session.
> Shall I just set the idletime and leave the session close itself?
>

Reply via email to