|
| NatterMinhcast (MsgReceiveFct recv_callback, MsgMissingFct missing_callback) |
|
| NatterMinhcast (MsgReceiveFct recv_callback, MsgMissingFct missing_callback, const std::vector< logging::LoggerPtr > &logger, solanet::UUID node_uuid) |
|
| NatterMinhcast (MsgReceiveFct recv_callback, MsgMissingFct missing_callback, const std::vector< logging::LoggerPtr > &logger) |
|
| NatterMinhcast (const NatterMinhcast &)=delete |
|
NatterMinhcast & | operator= (const NatterMinhcast &)=delete |
|
| NatterMinhcast (NatterMinhcast &&)=delete |
|
NatterMinhcast & | operator= (NatterMinhcast &&)=delete |
|
| Natter (const Natter &)=delete |
|
| Natter (Natter &&)=delete |
|
Natter & | operator= (const Natter &other)=delete |
|
Natter & | operator= (Natter &&)=delete |
|
solanet::UUID | publish (const std::string &topic, const std::string &msg_content) |
|
bool | addPeer (const std::string &topic, const NodeInfo &info) |
|
void | subscribeTopic (const std::string &topic, const NodeInfo &info) |
|
bool | isSubscribedToTopic (const std::string &topic) const |
|
void | unsubscribeTopic (const std::string &topic) |
|
bool | removePeer (const std::string &topic, const std::string &ip, uint16_t port) |
|
solanet::UUID | getUUID () const |
|
NodeInfo | getOwnNodeInfo (const std::string &topic) const |
|
NetworkInfoIPv4 | getNetworkInfo () const |
|
|
using | NodeInfo = MinhcastNodeInfo |
|
◆ NatterMinhcast() [1/3]
natter::minhcast::NatterMinhcast::NatterMinhcast |
( |
MsgReceiveFct |
recv_callback, |
|
|
MsgMissingFct |
missing_callback |
|
) |
| |
Create natter instance
- Parameters
-
recv_callback | function will be called when message arrives for this instance |
missing_callback | NOT YET USED FOR MINHCAST |
◆ NatterMinhcast() [2/3]
natter::minhcast::NatterMinhcast::NatterMinhcast |
( |
MsgReceiveFct |
recv_callback, |
|
|
MsgMissingFct |
missing_callback, |
|
|
const std::vector< logging::LoggerPtr > & |
logger, |
|
|
solanet::UUID |
node_uuid |
|
) |
| |
Create natter instance
- Parameters
-
recv_callback | function will be called when message arrives for this instance |
missing_callback | NOT YET USED FOR MINHCAST |
logger | logger |
node_uuid | uuid for created instance |
◆ NatterMinhcast() [3/3]
natter::minhcast::NatterMinhcast::NatterMinhcast |
( |
MsgReceiveFct |
recv_callback, |
|
|
MsgMissingFct |
missing_callback, |
|
|
const std::vector< logging::LoggerPtr > & |
logger |
|
) |
| |
Create natter instance with random uuid
- Parameters
-
recv_callback | function will be called when message arrives for this instance |
missing_callback | NOT YET USED FOR MINHCAST |
logger | logger |
The documentation for this class was generated from the following file: