20 lines
533 B
C++
20 lines
533 B
C++
// Copyright (2019-2023) Paul Scherrer Institute
|
|
|
|
#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
|