 |
helics
3.0.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:99
std::pair< std::string, std::string > extractInterfaceandPortString(const std::string &address)
Definition: NetworkBrokerData.cpp:251
CoreType
Definition: CoreTypes.hpp:36
std::shared_ptr< Broker > findBroker(const std::string &brokerName)
Definition: BrokerFactory.cpp:182
virtual void startServer(const Json::Value *val)=0
static ActionMessage generateMessageResponse(const ActionMessage &rxcmd, portData &pdata, CoreType ctype)
Definition: TypedBrokerServer.cpp:65
Definition: ActionMessage.hpp:30
static int getOpenPort(portData &pd)
Definition: TypedBrokerServer.cpp:102
int32_t messageID
8 – message ID for a variety of purposes
Definition: ActionMessage.hpp:36
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
std::shared_ptr< Broker > create(CoreType type, const std::string &configureString)
Definition: BrokerFactory.cpp:98
action_message_def::action_t action() const noexcept
Definition: ActionMessage.hpp:88
std::shared_ptr< Broker > findJoinableBrokerOfType(CoreType type)
Definition: BrokerFactory.cpp:214
virtual void stopServer()=0