You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lokinet/llarp/tooling/rc_event.hpp

35 lines
650 B
C++

#include <tooling/router_event.hpp>
#include <router_contact.hpp>
namespace tooling
{
struct RCGossipReceivedEvent : public RouterEvent
{
RCGossipReceivedEvent(const llarp::RouterID& routerID, const llarp::RouterContact& rc);
std::string
ToString() const override;
std::string
LongString() const;
llarp::RouterContact rc;
};
struct RCGossipSentEvent : public RouterEvent
{
RCGossipSentEvent(const llarp::RouterID& routerID, const llarp::RouterContact& rc);
std::string
ToString() const override;
std::string
LongString() const;
llarp::RouterContact rc;
};
} // namespace tooling