rippled
|
Public Types | |
using | HandlerType = std::function< void(std::string, std::vector< beast::IP::Endpoint >)> |
Public Member Functions | |
ResolverAsio ()=default | |
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... | |
Static Public Member Functions | |
static std::unique_ptr< ResolverAsio > | New (boost::asio::io_service &, beast::Journal) |
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 29 of file ResolverAsio.h.
|
inherited |
Definition at line 34 of file Resolver.h.
|
explicitdefault |
|
static |
Definition at line 406 of file ResolverAsio.cpp.
|
pure virtualinherited |
Issue an asynchronous stop request.
Implemented in ripple::ResolverAsioImpl.
|
pure virtualinherited |
Issue a synchronous stop request.
Implemented in ripple::ResolverAsioImpl.
|
pure virtualinherited |
Issue a synchronous start request.
Implemented in ripple::ResolverAsioImpl.
|
inherited |
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 virtualinherited |
Implemented in ripple::ResolverAsioImpl.