protected String encodeOutput(Codec codec, List<Command> results) {
        return codec.encode(results);
    }
protected String encodeOutput ( Codec codec , List < Command > results ) { return codec . encode ( results ) ; }
Encodes the given output.

@param codec   - the {@code Codec} used to endecode {@code output}
@param results - the outgoing collection of commands to be encoded.

@return a literal representation of the encoded commands