def _setup(self, session_id, plugin_network, proc_pipe, log_pipe_conn, original_version_table, custom_data, permissions):
    self._menus = {}
    self._run_text = 'Run'
    self._run_usable = True
    self._advanced_settings_text = 'Advanced Settings'
    self._advanced_settings_usable = True
    self._custom_data = custom_data
    self._permissions = permissions
    self._network = plugin_network
    self._process_manager = ProcessManagerInstance(proc_pipe)
    self._log_pipe_conn = log_pipe_conn
    self._network._send_connect(_Messages.connect, [_Packet._compression_type(), original_version_table])
    Logs.debug('Plugin constructed for session', session_id)
def _setup(self, session_id, plugin_network, proc_pipe, log_pipe_conn, original_version_table, custom_data, permissions):
    self._menus = {}
    self._run_text = 'Run'
    self._run_usable = True
    self._advanced_settings_text = 'Advanced Settings'
    self._advanced_settings_usable = True
    self._custom_data = custom_data
    self._permissions = permissions
    self._network = plugin_network
    self._process_manager = ProcessManagerInstance(proc_pipe)
    self._log_pipe_conn = log_pipe_conn
    self._network._send_connect(_Messages.connect, [_Packet._compression_type(), original_version_table])
    Logs.debug('Plugin constructed for session', session_id)