Remy Maucherat wrote:
No, I don't agree with reading bytes in the lower layer as it would swallow problems even more than doing it in the adapter without any additional benefit (BTW, read cannot return 0). There's also a likely problem that it would require additional structures to hold that data, and which are present in the adapter.

Speaking of swallowing problems due to reading, you wrote this on the user list:

On 5/4/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> This is because when an event happens, CoyoteAdapter will now check the
> channel by doing a read(in order for available to work). This will close
> the underlying connection, and you'll get this error.

CoyoteAdapter reads and generates the appropriate event according to the read result (previously, it generated a read event without doing a read). There's no close being done in CoyoteAdapter (except if there's an exception, in which case everything is recycled, but it doesn't seem to be the siutation you describe).

Rémy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to