renamed FdaqService to Fdaq
This commit is contained in:
+3
-3
@@ -39,9 +39,9 @@ import ch.psi.fda.messages.Metadata;
|
||||
* Fdaq service
|
||||
*
|
||||
*/
|
||||
public class FdaqService {
|
||||
public class Fdaq {
|
||||
|
||||
private static final Logger logger = Logger.getLogger(FdaqService.class.getName());
|
||||
private static final Logger logger = Logger.getLogger(Fdaq.class.getName());
|
||||
|
||||
private volatile boolean stopAcquisition = false;
|
||||
private volatile boolean running = false;
|
||||
@@ -51,7 +51,7 @@ public class FdaqService {
|
||||
private FdaqConfiguration configuration;
|
||||
private final int numberOfElements = Integer.MAX_VALUE/2;
|
||||
|
||||
public FdaqService(EventBus bus, FdaqConfiguration configuration){
|
||||
public Fdaq(EventBus bus, FdaqConfiguration configuration){
|
||||
this.bus = bus;
|
||||
this.configuration = configuration;
|
||||
}
|
||||
@@ -56,7 +56,7 @@ public class FdaqMain {
|
||||
|
||||
|
||||
EventBus bus = new AsyncEventBus(Executors.newSingleThreadExecutor());
|
||||
final FdaqService fdaq = new FdaqService(bus, configuration);
|
||||
final Fdaq fdaq = new Fdaq(bus, configuration);
|
||||
|
||||
Signal.handle(new Signal("INT"), new SignalHandler() {
|
||||
int count = 0;
|
||||
|
||||
Reference in New Issue
Block a user