#include <dht/notify_handler.h>
Inheritance diagram for dht::notify_handler:

| Public Member Functions | |
| virtual void | success ()=0 | 
| Called in case of success. | |
| virtual void | failure (int error, const char *errstr)=0 | 
| Called in case of a failure. | |
Classes that implement this interface can receive and react to notifications from DHT implementations.
| virtual void dht::notify_handler::success | ( | ) |  [pure virtual] | 
| virtual void dht::notify_handler::failure | ( | int | error, | |
| const char * | errstr | |||
| ) |  [pure virtual] | 
Called in case of a failure.
| error | an error code | |
| errstr | a NULL terminated string giving exact reason for the error | 
Implemented in dht::search_handler.
 1.5.1
 1.5.1