|
| SOLA (const typename StorageT::Config &storage_config, const typename EventDisseminationT::Config &event_dissemination_config, TopicMessageReceiveFct topic_recv, LoggerPtr logger) |
| Starts the SOLA instance.
|
|
void | stop () |
|
bool | canStop () const |
|
void | addService (Service service) |
|
std::future< minhton::FindResult > | findService (Request r) |
|
void | subscribeTopic (const std::string &topic) |
|
void | unsubscribeTopic (const std::string &topic) |
|
solanet::UUID | publishMessage (const std::string &topic, const std::string &message) |
|
bool | isStorageRunning () const |
|
◆ SOLA()
template<typename StorageT , typename EventDisseminationT >
sola::SOLA< StorageT, EventDisseminationT >::SOLA |
( |
const typename StorageT::Config & |
storage_config, |
|
|
const typename EventDisseminationT::Config & |
event_dissemination_config, |
|
|
TopicMessageReceiveFct |
topic_recv, |
|
|
LoggerPtr |
logger |
|
) |
| |
|
inline |
Starts the SOLA instance.
- Parameters
-
storage_config | configuration for storage |
event_dissemination_config | configuration for event dissemination |
receive_fct | function to be called when a new message is received |
topic_recv | function to be called when a new message on a topic arrives |
The documentation for this class was generated from the following file: