C++ Distributed Hash Table
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
dht::DhtMessage Class Reference
Inheritance diagram for dht::DhtMessage:
Inheritance graph
[legend]
Collaboration diagram for dht::DhtMessage:
Collaboration graph
[legend]

Public Member Functions

 DhtMessage (std::string s={}, Blob msg={})
 
std::string getService () const
 
- Public Member Functions inherited from dht::Value::Serializable< DhtMessage >
virtual const ValueTypegetType () const
 
virtual void unpackValue (const Value &v)
 
virtual Value packValue () const
 

Static Public Member Functions

static Value::Filter getFilter ()
 
static bool storePolicy (InfoHash key, std::shared_ptr< Value > &value, const InfoHash &from, const SockAddr &)
 
static Value::Filter ServiceFilter (std::string s)
 

Public Attributes

std::string service
 
Blob data
 

Static Public Attributes

static const ValueType TYPE
 

Friends

std::ostream & operator<< (std::ostream &, const DhtMessage &)
 

Detailed Description

Definition at line 36 of file default_types.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  ,
const DhtMessage  
)
friend

print value for debugging


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