Belle II Software  release-08-01-10
b2hlt_acceptor.cc
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 #include <daq/hbasf2/apps/ZMQClasses.h>
9 #include <framework/logging/Logger.h>
10 
11 using namespace Belle2;
12 
18 int main(int argc, char* argv[])
19 {
20  ZMQAcceptor collector;
21  collector.initFromConsole("b2hlt_acceptor - mimick a final sink by confirming each received input (confirmed connection).", argc,
22  argv);
23  collector.main();
24 
25  B2RESULT("Program terminated.");
26 }
App to only send a confirmation on every incoming message - behaves the same as the input of a (final...
Definition: ZMQClasses.h:45
Abstract base class for different kinds of events.
int main(int argc, char **argv)
Run all tests.
Definition: test_main.cc:91