Re: WebSocket client API

2015-10-13 Thread Chris Hegarty
Pavel, > On 13 Oct 2015, at 10:40, Pavel Rappo wrote: > > Hi Simone, > >> On 8 Oct 2015, at 20:51, Simone Bordet wrote: >> >> The *API* should provide a callback to notify when the ByteBuffer has >> been consumed. > > Here is a proposed mechanism for managing buffers used by Listener. I thi

Re: WebSocket client API

2015-10-13 Thread Pavel Rappo
Hi Simone, > On 8 Oct 2015, at 20:51, Simone Bordet wrote: > > The *API* should provide a callback to notify when the ByteBuffer has > been consumed. Here is a proposed mechanism for managing buffers used by Listener. 1. WebSocket.Builder gets 2 new methods (may not be an actual javadoc):