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

Public Member Functions

 DhtProtocolException (uint16_t code, const std::string &msg="", InfoHash failing_node_id={})
 
std::string getMsg () const
 
uint16_t getCode () const
 
const InfoHash getNodeId () const
 
- Public Member Functions inherited from dht::DhtException
 DhtException (const std::string &str="")
 

Static Public Attributes

static const constexpr uint16_t NON_AUTHORITATIVE_INFORMATION {203}
 
static const constexpr uint16_t UNAUTHORIZED {401}
 
static const constexpr uint16_t NOT_FOUND {404}
 
static const constexpr uint16_t INVALID_TID_SIZE {421}
 
static const constexpr uint16_t UNKNOWN_TID {422}
 
static const constexpr uint16_t WRONG_NODE_INFO_BUF_LEN {423}
 
static const std::string GET_NO_INFOHASH
 
static const std::string LISTEN_NO_INFOHASH
 
static const std::string LISTEN_WRONG_TOKEN
 
static const std::string PUT_NO_INFOHASH
 
static const std::string PUT_WRONG_TOKEN
 
static const std::string STORAGE_NOT_FOUND
 
static const std::string PUT_INVALID_ID
 

Detailed Description

Definition at line 49 of file network_engine.h.


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