Re: Scatter / gather

2015-04-08 Thread Rémy Maucherat
2015-03-06 16:49 GMT+01:00 Mark Thomas : > I can see how both might be useful. No objections here. > > So in addition to my initial plan, I added some state information (NIO2 thinks it is a good idea to hide it), as well as flexibility for the completion handler call (NIO2 calls it as soon as it r

Re: Scatter / gather

2015-03-06 Thread Mark Thomas
On 06/03/2015 15:14, Rémy Maucherat wrote: > Hi (Mark - nobody else will care I suppose), > > Since the SocketWrapperBase has been neatly factored away, I think scatter > gather NIO2 style calls should be added to it for future use. > > - public void write(ByteBuffer[] src

Scatter / gather

2015-03-06 Thread Rémy Maucherat
Hi (Mark - nobody else will care I suppose), Since the SocketWrapperBase has been neatly factored away, I think scatter gather NIO2 style calls should be added to it for future use. - public void write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A