Back to Site
Loading...
Searching...
No Matches
librats::TopicSubscription Struct Reference

Topic subscription information. More...

#include <gossipsub.h>

Collaboration diagram for librats::TopicSubscription:
[legend]

Public Member Functions

 TopicSubscription (const std::string &t)
 

Public Attributes

std::string topic
 
std::unordered_set< std::string > subscribers
 
std::unordered_set< std::string > mesh_peers
 
std::unordered_set< std::string > fanout_peers
 
std::chrono::steady_clock::time_point last_fanout_prune
 

Detailed Description

Topic subscription information.

Definition at line 94 of file gossipsub.h.

Constructor & Destructor Documentation

◆ TopicSubscription()

librats::TopicSubscription::TopicSubscription ( const std::string &  t)
inline

Definition at line 101 of file gossipsub.h.

Member Data Documentation

◆ fanout_peers

std::unordered_set<std::string> librats::TopicSubscription::fanout_peers

Definition at line 98 of file gossipsub.h.

◆ last_fanout_prune

std::chrono::steady_clock::time_point librats::TopicSubscription::last_fanout_prune

Definition at line 99 of file gossipsub.h.

◆ mesh_peers

std::unordered_set<std::string> librats::TopicSubscription::mesh_peers

Definition at line 97 of file gossipsub.h.

◆ subscribers

std::unordered_set<std::string> librats::TopicSubscription::subscribers

Definition at line 96 of file gossipsub.h.

◆ topic

std::string librats::TopicSubscription::topic

Definition at line 95 of file gossipsub.h.


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