rippled
|
Public Types | |
using | HandlerType = std::function< void(std::string, std::vector< beast::IP::Endpoint >)> |
Public Member Functions | |
virtual | ~Resolver ()=0 |
virtual void | stop_async ()=0 |
Issue an asynchronous stop request. More... | |
virtual void | stop ()=0 |
Issue a synchronous stop request. More... | |
virtual void | start ()=0 |
Issue a synchronous start request. More... | |
template<class Handler > | |
void | resolve (std::vector< std::string > const &names, Handler handler) |
resolve all hostnames on the list More... | |
virtual void | resolve (std::vector< std::string > const &names, HandlerType const &handler)=0 |
Definition at line 30 of file Resolver.h.
using ripple::Resolver::HandlerType = std::function<void(std::string, std::vector<beast::IP::Endpoint>)> |
Definition at line 34 of file Resolver.h.
|
pure virtualdefault |
|
pure virtual |
Issue an asynchronous stop request.
Implemented in ripple::ResolverAsioImpl.
|
pure virtual |
Issue a synchronous stop request.
Implemented in ripple::ResolverAsioImpl.
|
pure virtual |
Issue a synchronous start request.
Implemented in ripple::ResolverAsioImpl.
void ripple::Resolver::resolve | ( | std::vector< std::string > const & | names, |
Handler | handler | ||
) |
resolve all hostnames on the list
names | the names to be resolved |
handler | the handler to call |
Definition at line 57 of file Resolver.h.
|
pure virtual |
Implemented in ripple::ResolverAsioImpl.