def METHOD_NAME(self, line):
    # Impedance mismatch: subunit wants lines, observers get lines-no\n
    # Note that observers get already decoded lines whereas protocol wants bytes
    self.protocol.lineReceived(line.encode('utf-8') + b'\n')