public AbstractInitOperation(Config config, UserInteractionListener listener) { super(config); this.listener = listener; this.eventBus = LocalEventBus.getInstance(); }
public RemoteTransaction(Config config, TransferManager transferManager, TransactionTO transactionTO) { this.config = config; this.transferManager = transferManager; this.transactionTO = transactionTO; this.eventBus = LocalEventBus.getInstance(); }
public Downloader(Config config, TransferManager transferManager) { this.config = config; this.transferManager = transferManager; this.eventBus = LocalEventBus.getInstance(); }
public InternalRestHandler(WebServer daemonWebServer, RequestFormatType requestFormatType) { this.daemonWebServer = daemonWebServer; this.eventBus = LocalEventBus.getInstance(); this.requestFormatType = requestFormatType; }
public ManagementRequestHandler() { this.eventBus = LocalEventBus.getInstance(); }
public Indexer(Config config, Deduper deduper) { this.config = config; this.deduper = deduper; this.localDatabase = new SqlDatabase(config, true); this.eventBus = LocalEventBus.getInstance(); }
public PluginOperation(Config config, PluginOperationOptions options) { super(config); this.options = options; this.result = new PluginOperationResult(); this.eventBus = LocalEventBus.getInstance(); }
public EventUserInteractionListener() { this.eventBus = LocalEventBus.getInstance(); this.eventBus.register(this); this.waitObject = new Object(); }
private void initEventBus() { eventBus = LocalEventBus.getInstance(); eventBus.register(this); }
public GetFileFolderRequestHandler(Config config) { super(config); this.localDatabase = new SqlDatabase(config); this.eventBus = LocalEventBus.getInstance(); }
public InternalWebSocketHandler(WebServer daemonWebServer, String certificateCommonName, RequestFormatType requestFormatType) { this.daemonWebServer = daemonWebServer; this.eventBus = LocalEventBus.getInstance(); this.certificateCommonName = certificateCommonName; this.requestFormatType = requestFormatType; this.eventBus.register(this); }
public UpdateOperation(Config config, UpdateOperationOptions options) { super(config); this.options = options; this.result = new UpdateOperationResult(); this.eventBus = LocalEventBus.getInstance(); }
public WatchServer() { this.daemonConfig = null; this.watchOperations = new TreeMap<File, WatchRunner>(); this.eventBus = LocalEventBus.getInstance(); this.eventBus.register(this); }
public LsRemoteOperation(Config config, TransferManager transferManager) { super(config); this.loadedTransferManager = transferManager; this.localDatabase = new SqlDatabase(config); this.eventBus = LocalEventBus.getInstance(); }
private void initEventBus() { eventBus = LocalEventBus.getInstance(); eventBus.register(this); }
public Command() { this.eventBus = LocalEventBus.getInstance(); this.eventBus.register(this); }
public ControlServer() { this.controlFile = new File(UserConfig.getUserConfigDir(), CONTROL_FILE); this.controlFileTailer = new Tailer(controlFile, this, 1000, true); this.eventBus = LocalEventBus.getInstance(); }
public WatchOperation(Config config, WatchOperationOptions options) { super(config); this.options = options; this.localDatabase = new SqlDatabase(config); this.watchThread = null; this.syncRunning = new AtomicBoolean(false); this.syncRequested = new AtomicBoolean(false); this.stopRequested = new AtomicBoolean(false); this.pauseRequested = new AtomicBoolean(false); this.upCount = new AtomicInteger(0); this.recursiveWatcher = null; this.notificationListener = null; this.eventBus = LocalEventBus.getInstance(); this.notificationChannel = StringUtil.toHex(config.getRepoId()); this.notificationInstanceId = "" + Math.abs(new Random().nextLong()); }
public WatchRunner(Config config, WatchOperationOptions watchOperationOptions, PortTO portTO) throws ConfigException { this.config = config; this.portTO = portTO; this.watchOperation = new WatchOperation(config, watchOperationOptions); this.eventBus = LocalEventBus.getInstance(); this.eventBus.register(this); }
public StatusOperation(Config config, StatusOperationOptions options) { super(config); this.fileVersionComparator = new FileVersionComparator(config.getLocalDir(), config.getChunker().getChecksumAlgorithm()); this.localDatabase = new SqlDatabase(config); this.options = options; this.eventBus = LocalEventBus.getInstance(); }