<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def data_received(self, data):
 """Used to signal `asyncio.Protocol` of incoming data."""

        if self._on_data:
            self._on_data(data)
            return
        self._queued_data.append(data)