Project
Loading...
Searching...
No Matches
ChannelSpec.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11#ifndef O2_FRAMEWORK_CHANNELSPEC_H_
12#define O2_FRAMEWORK_CHANNELSPEC_H_
13
14#include <string>
15
16namespace o2::framework
17{
18
21enum struct ChannelMethod {
22 Bind,
24};
25
27enum struct ChannelType {
28 Pub,
29 Sub,
30 Push,
31 Pull,
32 Pair
33};
34
36enum struct ChannelProtocol {
37 Network,
38 IPC
39};
40
46 std::string name;
49 std::string hostname;
50 unsigned short port;
52 size_t rateLogging = 0;
53 size_t recvBufferSize = 1000;
54 size_t sendBufferSize = 1000;
55 std::string ipcPrefix = ".";
56};
57
64 std::string name;
67 std::string hostname;
68 unsigned short port;
69 size_t listeners;
71 size_t rateLogging = 0;
72 size_t recvBufferSize = 1000;
73 size_t sendBufferSize = 1000;
74 std::string ipcPrefix = ".";
75};
76
77} // namespace o2::framework
78
79#endif // O2_FRAMEWORK_CHANNELSPEC_H_
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
ChannelProtocol
The kind of backend to use for the channels.
Definition ChannelSpec.h:36
ChannelType
These map to zeromq types for the channels.
Definition ChannelSpec.h:27