|
INFM HIL Interface
Interface between Artery simulation and DuTs
|
restbed REST endpoint offering methods and paths described in More...
#include <ReceiveEndpoint.h>
Public Member Functions | |
| void | startService (int const &port, std::function< void(const SimEvent &)> function) |
| void | stopService () |
Public Attributes | |
| std::shared_ptr< ReceiveApiResource > | m_spReceiveApiResource |
restbed REST endpoint offering methods and paths described in
| void sim_interface::dut_connector::rest_dummy::ReceiveEndpoint::startService | ( | int const & | port, |
| std::function< void(const SimEvent &)> | function | ||
| ) |
Constructs the restbed service and runs it on given port
| port | Port to start webservice to receive DuT messages on |
| function | callback to call with received SimEvent |
| void sim_interface::dut_connector::rest_dummy::ReceiveEndpoint::stopService | ( | ) |
Stop webservice
| std::shared_ptr<ReceiveApiResource> sim_interface::dut_connector::rest_dummy::ReceiveEndpoint::m_spReceiveApiResource |
REST Api resource for receiving and sending events to REST Dummy DuT