10#include "../core/ActionMessage.hpp"
13#include <nlohmann/json_fwd.hpp>
22 using portData = std::vector<std::tuple<int, bool, std::shared_ptr<Broker>>>;
29 const std::shared_ptr<TypedBrokerServer>& ptr) = 0;
42 static void assignPort(portData& portDataList,
int pnumber, std::shared_ptr<Broker>& brk);
44 static void logMessage(std::string_view message);
Definition ActionMessage.hpp:30
Definition TypedBrokerServer.hpp:24
virtual void processArgs(std::string_view args)
Definition TypedBrokerServer.cpp:103
virtual void startServer(const nlohmann::json *val, const std::shared_ptr< TypedBrokerServer > &ptr)=0
static ActionMessage generateMessageResponse(const ActionMessage &rxcmd, portData &pdata, CoreType ctype)
Definition TypedBrokerServer.cpp:67
static int getOpenPort(portData &portDataList)
Definition TypedBrokerServer.cpp:106
virtual void stopServer()=0
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition AsyncFedCallInfo.hpp:14
CoreType
Definition CoreTypes.hpp:46