public ServerMessageTypeHandler(CatchupServerProtocol protocol, LogProvider logProvider) { this._protocol = protocol; this._log = logProvider.getLog(this.GetType()); }
public override Optional <ChannelHandler> SnapshotHandler(CatchupServerProtocol catchupServerProtocol) { return(Optional.ofNullable((_snapshotService != null) ? new CoreSnapshotRequestHandler(catchupServerProtocol, _snapshotService) : null)); }
public override ChannelHandler GetIndexSnapshotRequestHandler(CatchupServerProtocol catchupServerProtocol) { return(new StoreCopyRequestHandler.GetIndexSnapshotRequestHandler(catchupServerProtocol, _dataSourceSupplier, _checkPointerService, new StoreFileStreamingProtocol(), _fs, _logProvider)); }
public override ChannelHandler StoreListingRequestHandler(CatchupServerProtocol catchupServerProtocol) { return(new PrepareStoreCopyRequestHandler(catchupServerProtocol, _dataSourceSupplier, new PrepareStoreCopyFilesProvider(_fs))); }
public override ChannelHandler GetStoreIdRequestHandler(CatchupServerProtocol catchupServerProtocol) { return(new GetStoreIdRequestHandler(catchupServerProtocol, _storeIdSupplier)); }
public override ChannelHandler TxPullRequestHandler(CatchupServerProtocol catchupServerProtocol) { return(new TxPullRequestHandler(catchupServerProtocol, _storeIdSupplier, _dataSourceAvailabilitySupplier, _dataSourceSupplier, _monitors, _logProvider)); }