'Write a received line to the child process.
@type line: L{bytes}
@param line: A received line of the message.'

def lineReceived(self, line):

    if self.done:
        return
    self.protocol.transport.write((line + '\n'))
