public synchronized void enqueueWriteRequest ( final NextFilter nextFilter , final WriteRequest writeRequest ) { if ( writeRequestQueue == null ) { writeRequestQueue = new LinkedList <> ( ) ; } writeRequestQueue . offer ( new Event ( nextFilter , writeRequest ) ) ; }
Enqueue a message to be written once handshaking is complete .