 |
helics
2.8.1
|
10 #include "../core/ActionMessage.hpp"
12 #include <json/forwards.h>
22 using portData = std::vector<std::tuple<int, bool, std::shared_ptr<Broker>>>;
28 virtual void startServer(
const Json::Value* val) = 0;
41 static void assignPort(portData& pd,
int pnumber, std::shared_ptr<Broker>& brk);
43 static void logMessage(
const std::string& message);
virtual void processArgs(const std::string &args)
Definition: TypedBrokerServer.cpp:100
std::pair< std::string, std::string > extractInterfaceandPortString(const std::string &address)
Definition: NetworkBrokerData.cpp:250
core_type
Definition: core-types.hpp:37
virtual void startServer(const Json::Value *val)=0
static ActionMessage generateMessageResponse(const ActionMessage &rxcmd, portData &pdata, core_type ctype)
Definition: TypedBrokerServer.cpp:66
Definition: ActionMessage.hpp:29
static int getOpenPort(portData &pd)
Definition: TypedBrokerServer.cpp:103
std::shared_ptr< Broker > findBroker(const std::string &brokerName)
Definition: BrokerFactory.cpp:185
int32_t messageID
8 – message ID for a variety of purposes
Definition: ActionMessage.hpp:35
std::shared_ptr< Broker > findJoinableBrokerOfType(core_type type)
Definition: BrokerFactory.cpp:217
std::shared_ptr< Broker > create(core_type type, const std::string &configureString)
Definition: BrokerFactory.cpp:100
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14
Definition: TypedBrokerServer.hpp:24
action_message_def::action_t action() const noexcept
Definition: ActionMessage.hpp:89
virtual void stopServer()=0