On Sun, Sep 11, 2011 at 3:16 PM, Alan D. Cabrera <[email protected]> wrote: > Can you provide more detail as to what is needed and where? > > > Regards, > Alan >
When session.writeWithFuture(Object message) is called, we walk the chain of Filter, and at the end we store the ByteBuffers into WriteRequests, w is enqueue in the session queue of pending writes. An implementation solution could be when the last writeRequest for the last ByteBuffer of the encoded message is produced we store the WriteFuture in the WriteRequest, so when this WriteRequest is written on the socket we complete the WriteFuture. Julien
