actor-framework
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
caf::hashed_node_id Class Reference

Public Types

using host_id_type = std::array< uint8_t, 20 >
 Represents a 160 bit hash.
 

Public Member Functions

 hashed_node_id (uint32_t process_id, const host_id_type &host) noexcept
 
bool valid () const noexcept
 
int compare (const hashed_node_id &other) const noexcept
 
void print (std::string &dst) const
 

Static Public Member Functions

static bool valid (const host_id_type &x) noexcept
 
static bool can_parse (std::string_view str) noexcept
 
static node_id local (const actor_system_config &)
 

Public Attributes

uint32_t process_id
 
host_id_type host
 

Friends

template<class Inspector >
bool inspect (Inspector &f, hashed_node_id &x)
 

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