SOLA
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
natter::minhcast::NatterMinhcast Class Reference
Inheritance diagram for natter::minhcast::NatterMinhcast:
natter::Natter< NatterMinhcast, MinhcastNodeInfo >

Classes

class  Impl
 

Public Member Functions

 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
 
NatterMinhcastoperator= (const NatterMinhcast &)=delete
 
 NatterMinhcast (NatterMinhcast &&)=delete
 
NatterMinhcastoperator= (NatterMinhcast &&)=delete
 
- Public Member Functions inherited from natter::Natter< NatterMinhcast, MinhcastNodeInfo >
 Natter (const Natter &)=delete
 
 Natter (Natter &&)=delete
 
Natteroperator= (const Natter &other)=delete
 
Natteroperator= (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
 

Additional Inherited Members

- Public Types inherited from natter::Natter< NatterMinhcast, MinhcastNodeInfo >
using NodeInfo = MinhcastNodeInfo
 

Constructor & Destructor Documentation

◆ NatterMinhcast() [1/3]

natter::minhcast::NatterMinhcast::NatterMinhcast ( MsgReceiveFct  recv_callback,
MsgMissingFct  missing_callback 
)

Create natter instance

Parameters
recv_callbackfunction will be called when message arrives for this instance
missing_callbackNOT 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_callbackfunction will be called when message arrives for this instance
missing_callbackNOT YET USED FOR MINHCAST
loggerlogger
node_uuiduuid 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_callbackfunction will be called when message arrives for this instance
missing_callbackNOT YET USED FOR MINHCAST
loggerlogger

The documentation for this class was generated from the following file: