1) Trustin, I asked this because I read the ChatServer example which
IoFutureListener was not applied for.
2) Once more, why SetWriteTimeout since IoFutureListener also works? (why
makes things more complicated?)
3) In our discussion forum, do we have categories for threads such as
generic questions, JIRA, bugs, testing related? I found out after a while it
was too hard to navigate the threads.


On 7/28/07, Trustin Lee <[EMAIL PROTECTED]> wrote:
>
> On 7/28/07, mat <[EMAIL PROTECTED]> wrote:
> > So future.isWritten() is a better way to detect whether WRITE is
> > successfully than set session.SetWriteTimeOut()? future.join() seems
> > blocking the method(Wait for the asynchronous operation to end.) will
> that
> > affect the performance?
>
> Yes for the both questions.  I recommed you to use IoFutureListener as
> always.
>
> HTH,
> Trustin
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> --
> PGP Key ID: 0x0255ECA6
>

Reply via email to