SOLA
Loading...
Searching...
No Matches
Public Member Functions | List of all members
natter::logging::NatterLoggerNs3 Class Reference
Inheritance diagram for natter::logging::NatterLoggerNs3:
natter::logging::LoggerInterface

Public Member Functions

 NatterLoggerNs3 (LogDeviceApp log_device_application, LogFunction log, LogEvent log_event)
 
void logNewNetworkPeer (solanet::UUID uuid, const std::string &ip, uint16_t port, int level, int number) final
 
void logNs3PeerConnection (uint64_t timestamp, bool active, solanet::UUID node_uuid, solanet::UUID new_node_uuid)
 
void logReceivedMessages (solanet::UUID node_uuid, solanet::UUID initial_sender, solanet::UUID message, uint32_t round_) final
 
void logNatterEvent (uint16_t event_type, solanet::UUID event_id)
 Don't forget to use .c_str() to convert std::string into a char array.
 
void setApplicationUUID (const solanet::UUID &app_uuid) final
 
- Public Member Functions inherited from natter::logging::LoggerInterface
 LoggerInterface (std::string uuid)
 

Additional Inherited Members

- Protected Attributes inherited from natter::logging::LoggerInterface
std::string uuid_
 

Member Function Documentation

◆ logNewNetworkPeer()

void natter::logging::NatterLoggerNs3::logNewNetworkPeer ( solanet::UUID  uuid,
const std::string &  ip,
uint16_t  port,
int  level,
int  number 
)
finalvirtual

◆ logReceivedMessages()

void natter::logging::NatterLoggerNs3::logReceivedMessages ( solanet::UUID  node_uuid,
solanet::UUID  initial_sender,
solanet::UUID  message,
uint32_t  round_ 
)
finalvirtual

◆ setApplicationUUID()

void natter::logging::NatterLoggerNs3::setApplicationUUID ( const solanet::UUID &  app_uuid)
inlinefinalvirtual

Set the UUID used for identifying application nodes. Used for loggers which are initialized before node starts.

Parameters
app_uuidapplication uuid

Implements natter::logging::LoggerInterface.


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