Any comments on below?
Shing Wai Chan
On 2/4/13 1:53 PM, Shing Wai Chan wrote:
> Hi,
>
> Since non-blocking IO is used in async or upgrade env, so users can use
> AsyncListener and Read/WriteListener together.
> We should clarify the ordering in the spec.
>
> When there is a timeout, AsyncListener#onTimeout is invoked,
> then which one of the following will be called next.
> a) ReadListener#onError
> b) AsyncListener#onComplete
>
> In my opinion, the AsyncListener should always be the last one to be
> called in this case.
> Any comment?
>
> Shing Wai Chan