AsynchronousByteChannel and scatter/gather

Alan Bateman Alan.Bateman at Sun.COM
Fri Jun 6 08:42:16 PDT 2008


David M. Lloyd wrote:
> :
> OK.  Mostly what I'm driving at is an API issue - why have an 
> interface then for single-buffer asynchronous operations, but not 
> multi-buffer operations?  Does the interface add any value to the API?
One usage is in the Channels class where interoperability with the 
streams classes is required. Aside from that I would expect to see 
AsynchronousByteChannel used by those creating filters or 
decorating/wrapping a channel. It is an area where we need more feedback 
to see if other or alternative interfaces are needed.

-Alan.



More information about the nio-discuss mailing list