<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def send(self, msg):
 """Send `data` to `handle`, and tell the broker we have output. May be called from any thread."""

        self._router.broker.defer(self._send, msg)