|
My Project 3.5.5
C++ Distributed Hash Table
|


Public Member Functions | |
| DhtMessage (const std::string &s={}, const Blob &msg={}) | |
| std::string | getService () const |
| Public Member Functions inherited from dht::Value::Serializable< DhtMessage > | |
| virtual const ValueType & | getType () 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 (const 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 &) |
Definition at line 36 of file default_types.h.
|
inline |
Definition at line 41 of file default_types.h.
|
inlinestatic |
Definition at line 47 of file default_types.h.
|
inline |
Definition at line 43 of file default_types.h.
|
friend |
print value for debugging
| Blob dht::DhtMessage::data |
Definition at line 57 of file default_types.h.
| std::string dht::DhtMessage::service |
Definition at line 56 of file default_types.h.
|
static |
Definition at line 39 of file default_types.h.