'Handle a send event.'

def _handle_send(self):

    if self._flushed:
        return
    if (not self.sending()):
        gen_log.error("Shouldn't    have    handled    a    send    event")
        return
    (msg, kwargs) = self._send_queue.get()
    try:
        status = self.socket.send_multipart(msg, **kwargs)
    except zmq.ZMQError as e:
        gen_log.error('SEND    Error:    %s', e)
        status = e
    if self._send_callback:
        callback = self._send_callback
        self._run_callback(callback, msg, status)
