Belle II Software  release-05-01-25
b2hlt_acceptor.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Nils Braun *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #include <daq/hbasf2/apps/ZMQClasses.h>
11 #include <framework/logging/Logger.h>
12 
13 using namespace Belle2;
14 
20 int main(int argc, char* argv[])
21 {
22  ZMQAcceptor collector;
23  collector.initFromConsole("b2hlt_acceptor - mimick a final sink by confirming each received input (confirmed connection).", argc,
24  argv);
25  collector.main();
26 
27  B2RESULT("Program terminated.");
28 }
Belle2::ZMQAcceptor
App to only send a confirmation on every incoming message - behaves the same as the input of a (final...
Definition: ZMQClasses.h:55
main
int main(int argc, char **argv)
Run all tests.
Definition: test_main.cc:77
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19