TrinityCore
Trinity::Asio::Resolver Class Reference

#include <Resolver.h>

Public Member Functions

 Resolver (IoContext &ioContext)
 
Optional< boost::asio::ip::tcp::endpoint > Resolve (boost::asio::ip::tcp const &protocol, std::string const &host, std::string const &service)
 

Private Attributes

boost::asio::ip::tcp::resolver _impl
 

Detailed Description

Hack to make it possible to forward declare resolver (one of its template arguments is a typedef to something super long and using nested classes)

Definition at line 33 of file Resolver.h.

Constructor & Destructor Documentation

◆ Resolver()

Trinity::Asio::Resolver::Resolver ( IoContext ioContext)
inlineexplicit

Definition at line 36 of file Resolver.h.

Member Function Documentation

◆ Resolve()

Optional< boost::asio::ip::tcp::endpoint > Trinity::Asio::Resolver::Resolve ( boost::asio::ip::tcp const &  protocol,
std::string const &  host,
std::string const &  service 
)
inline

Definition at line 38 of file Resolver.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _impl

boost::asio::ip::tcp::resolver Trinity::Asio::Resolver::_impl
private

Definition at line 50 of file Resolver.h.


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