

def _on_target_read(self, event, data):
    'Read Event Handler\n\n    This unbound function will be later added as an event handler to a\n    dynamically created and registered client instance and used to process\n    Read events of a connected client.\n    '
    sock = self._sockets[event.channels[0]]
    self.fire(write(sock, data), 'source')

dataset/ETHPy150Open circuits/circuits/examples/portforward.py _on_target_read/original