| 
    rippled
    
   | 
 
#include <ResolverAsio.h>


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.   | |
| virtual void | stop ()=0 | 
| Issue a synchronous stop request.   | |
| virtual void | start ()=0 | 
| Issue a synchronous start request.   | |
| template<class Handler > | |
| void | resolve (std::vector< std::string > const &names, Handler handler) | 
| resolve all hostnames on the list   | |
| virtual void | resolve (std::vector< std::string > const &names, HandlerType const &handler)=0 | 
Static Public Member Functions | |
| static std::unique_ptr< ResolverAsio > | New (boost::asio::io_context &, beast::Journal) | 
Definition at line 30 of file ResolverAsio.h.
      
  | 
  inherited | 
Definition at line 33 of file Resolver.h.
      
  | 
  explicitdefault | 
      
  | 
  static | 
Definition at line 465 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.