|
My Project 3.7.9
C++ Distributed Hash Table
|

Public Types | |
| typedef uint16_t | Id |
Public Member Functions | |
| ValueType (Id id, std::string name, duration e=DEFAULT_VALUE_EXPIRATION) | |
| ValueType (Id id, std::string name, duration e, StorePolicy sp, EditPolicy ep=DEFAULT_EDIT_POLICY) | |
| bool | operator== (const ValueType &o) |
Static Public Member Functions | |
| static OPENDHT_PUBLIC bool | DEFAULT_STORE_POLICY (InfoHash, const std::shared_ptr< Value > &v, const InfoHash &, const SockAddr &) |
| static bool | DEFAULT_EDIT_POLICY (InfoHash, const std::shared_ptr< Value > &, std::shared_ptr< Value > &, const InfoHash &, const SockAddr &) |
Public Attributes | |
| Id | id {0} |
| std::string | name {} |
| duration | expiration {DEFAULT_VALUE_EXPIRATION} |
| StorePolicy | storePolicy {DEFAULT_STORE_POLICY} |
| EditPolicy | editPolicy {DEFAULT_EDIT_POLICY} |
Static Public Attributes | |
| static OPENDHT_PUBLIC const ValueType | USER_DATA |
|
inline |
|
inline |
|
inline |
| EditPolicy dht::ValueType::editPolicy {DEFAULT_EDIT_POLICY} |
| duration dht::ValueType::expiration {DEFAULT_VALUE_EXPIRATION} |
| StorePolicy dht::ValueType::storePolicy {DEFAULT_STORE_POLICY} |
|
static |