Add services main folder + histogram server binary w/o FairMQ + tester binary example
Depends on !1199 (merged)
Basically a version of the FairMQ Histogram Server stripped down of any FairMQ feature and adapted to the binary style used in algo
and reco
.
Runs and pops the server (http server accessible in Firefox) but:
- Input interface defined only as example, basically port of interface in FairMQ server!
- Example uses naked ZMQ and probably lacks some checks and abstractions, potentially leading to crashes
- Something need to be invented with more careful thoughts to replace FairMQ
- Commands do not work as the static boolean accessed by CLING do not seem to be share to the main threads (worked in FairTask world)
- No signals catching
- Due to this, no mechanism to stop the main loop apart from Ctrl+C
=> the termination sequence is not tested - Tested with histos and canvases (see example) using a port of the old interface from the FairMQ server
Redmine: Refs #2998
Edited by Pierre-Alain Loizeau