Belle II Software  release-08-01-10
b2hlt_collector.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/ZMQCollector.h>
9 #include <framework/logging/Logger.h>
10 
11 using namespace Belle2;
12 
18 int main(int argc, char* argv[])
19 {
20  ZMQCollector collector;
21  collector.initFromConsole("b2hlt_collector - non-final event collector receiving events on the input (confirmed connection), "
22  "and forwarding them to the output (via a load-balanced connection) to clients. "
23  "Useful for stacking multiple reconstruction worker paths.", argc, argv);
24  collector.main();
25 
26  B2RESULT("Program terminated.");
27 }
Normal collector app: receive messages on the input reacting with a confirmation message and sends th...
Definition: ZMQCollector.h:32
Abstract base class for different kinds of events.
int main(int argc, char **argv)
Run all tests.
Definition: test_main.cc:91