21 lines
578 B
C++
21 lines
578 B
C++
// Copyright (2019-2022) Paul Scherrer Institute
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#ifndef JUNGFRAUJOCH_JFJOCHWRITERGROUPCLIENT_H
|
|
#define JUNGFRAUJOCH_JFJOCHWRITERGROUPCLIENT_H
|
|
|
|
#include <vector>
|
|
#include "JFJochWriterClient.h"
|
|
|
|
class JFJochWriterGroupClient {
|
|
std::vector<JFJochWriterClient> clients;
|
|
public:
|
|
void AddClient(const std::string &addr);
|
|
void Start(const std::vector<std::string> &zmq_push_addr, int64_t series_id);
|
|
std::vector<JFJochProtoBuf::WriterOutput> Stop();
|
|
void Abort();
|
|
};
|
|
|
|
|
|
#endif //JUNGFRAUJOCH_JFJOCHWRITERGROUPCLIENT_H
|