Specify lineReceived behavior.