mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Greig" <robert.j.gr...@gmail.com>
Subject Re: SocketIoProcessor issue ?
Date Wed, 10 Jan 2007 16:01:20 GMT
On 10/01/07, Christophe Graulle <christophe.graulle@free.fr> wrote:

> Today in Mina 1.0.1 the SocketIoProcessor has the same behavior in its
> method doFlush().
> The way its is solved in Mina is to set the SeletionKey.OP_WRITE into
> the SelectorKey and let the system manage it. It was alos done like this
> in netty 1.9.2 and did not work.

What specifically did not work? The code is doing something extremely
common when using any select/poll I/O framework.

> If yes fine, but if not I would suggest to do some retries to let the
> buffer emptying.

Registering interest means the socket io processor will know after
doing a select whether the socket is able to accept data.

RG

Mime
View raw message