def _get_process_names(self, con, pid):
try:<EOL><INDENT>_p_in_name = con["<STR_LIT:input>"]["<STR_LIT>"]<EOL>p_in_name, _ = self._parse_process_name(_p_in_name)<EOL>logger.debug("<STR_LIT>".format(pid, p_in_name))<EOL>_p_out_name = con["<STR_LIT>"]["<STR_LIT>"]<EOL>p_out_name, out_directives = self._parse_process_name(<EOL>_p_out_name)<EOL>logger.debug("<STR_LIT>".format(pid, p_out_name))<EOL><DEDENT>except eh.ProcessError as ex:<EOL><INDENT>logger.error(colored_print(ex.value, "<STR_LIT>"))<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>return p_in_name, p_out_name, out_directives<EOL>
Returns the input/output process names and output process directives

        Parameters
        ----------
        con : dict
            Dictionary with the connection information between two processes.

        Returns
        -------
        input_name : str
            Name of the input process
        output_name : str
            Name of the output process
        output_directives : dict
            Parsed directives from the output process