Close the writer and flush any buffers
Future[Finished] which will resolve once the close process has completed.
Flush any bytes to the pipeline
Future[Unit] that resolves when any buffers have been flushed.
Write a message to the pipeline
ByteBuffer to write to the channel
Future[Unit] which resolves upon completion. Errors are handled through the