9 #include "../core/Broker.hpp"
26 using portData = std::vector<std::tuple<int, bool, std::shared_ptr<Broker>>>;
29 class TypedBrokerServer;
63 std::unique_ptr<helicsCLI11App> generateArgProcessing();
66 bool zmq_server{
false};
67 bool zmq_ss_server{
false};
68 bool tcp_server{
false};
69 bool udp_server{
false};
71 bool http_server{
false};
72 bool websocket_server{
false};
73 std::atomic<bool> exitall{
false};
74 std::vector<std::shared_ptr<TypedBrokerServer>> servers;
75 std::string configFile_;
76 std::string server_name_;
77 std::unique_ptr<Json::Value> config_;
78 std::string mHttpArgs;
79 std::string mWebSocketArgs;
Definition: BrokerServer.hpp:32
~BrokerServer()
Definition: BrokerServer.cpp:48
void forceTerminate()
Definition: BrokerServer.cpp:133
void closeServers()
Definition: BrokerServer.cpp:147
void startServers()
Definition: BrokerServer.cpp:53
BrokerServer() noexcept
Definition: BrokerServer.cpp:24
static bool hasActiveBrokers()
Definition: BrokerServer.cpp:128
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14