def __init__(self, index, statuses, resultsQueue, freeWorker, cfg, warebox, enc_dir):
        """
        Initializes the connector adding configuration object and WorkerWatcher class

        @param index: an index
        @param statuses: lists [off, free, working] containing the stopped worker
        @param resultsQueue: output queue, the complete/rejected/aborted tasks are sent back through it
        @param freeWorkers: threading.semaphore instance, counts the free workers
        @param cfg: configuration object
        """
        AbstractConnector.__init__(self, index, statuses, resultsQueue, freeWorker)
        self.cfg = cfg
        self.warebox = warebox
        self.enc_dir = enc_dir
    def __init__(self, index, statuses, resultsQueue, freeWorker, cfg, warebox, enc_dir, lockfile_fd):
        """
        Initializes the connector adding configuration object and WorkerWatcher class

        @param index: an index
        @param statuses: lists [off, free, working] containing the stopped worker
        @param resultsQueue: output queue, the complete/rejected/aborted tasks are sent back through it
        @param freeWorkers: threading.semaphore instance, counts the free workers
        @param cfg: configuration object
        @param lockfile_fd:
                    File descriptor of the lock file which ensures there
                    is only one instance of FileRock Client running.
                    Child processes have to close it to avoid stale locks.
        """
        AbstractConnector.__init__(self, index, statuses, resultsQueue, freeWorker)
        self.cfg = cfg
        self.warebox = warebox
        self.enc_dir = enc_dir
        self.lockfile_fd = lockfile_fd
    def __init__(self, index, statuses, resultsQueue, freeWorker, cfg, warebox,
                 enc_dir, lockfile_fd):
        """
        Initializes the connector adding configuration object and WorkerWatcher class

        @param index: an index
        @param statuses: lists [off, free, working] containing the stopped worker
        @param resultsQueue: output queue, the complete/rejected/aborted tasks are sent back through it
        @param freeWorkers: threading.semaphore instance, counts the free workers
        @param cfg: configuration object
        @param lockfile_fd:
                    File descriptor of the lock file which ensures there
                    is only one instance of FileRock Client running.
                    Child processes have to close it to avoid stale locks.
        """
        AbstractConnector.__init__(self, index, statuses, resultsQueue,
                                   freeWorker)
        self.cfg = cfg
        self.warebox = warebox
        self.enc_dir = enc_dir
        self.lockfile_fd = lockfile_fd