Belle II Software
release-08-01-10
b2hlt_worker.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
ZMQWorker
worker;
21
worker.initFromConsole(
"b2hlt_worker - mimick a worker process by sending a ready message back on every input (load-balanced connection) "
22
"and forwarding the message to the output, where it expects a confirmation (confirmed connection). "
23
"Behaves as a normal basf2-worker and can be used during testing."
24
, argc, argv);
25
worker.main();
26
27
B2RESULT(
"Program terminated."
);
28
}
Belle2::ZMQWorker
App to mimick a basf2-worker by accepting an incoming message with a ready message and sending it out...
Definition:
ZMQClasses.h:63
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
main
int main(int argc, char **argv)
Run all tests.
Definition:
test_main.cc:91
daq
hbasf2
tools
b2hlt_worker.cc
Generated on Mon Sep 23 2024 14:01:09 for Belle II Software by
1.9.1