Public Member Functions | |
Resolver (const SuccessCallback &onSuccess, const ErrorCallback &onError, const ndn::dns::AddressSelector &addressSelector, boost::asio::io_service &ioService) | |
void | asyncResolve (const std::string &host, const time::nanoseconds &timeout, const shared_ptr< Resolver > &self) |
BoostResolver::iterator | syncResolve (BoostResolver::query query) |
void | onResolveSuccess (const boost::system::error_code &error, BoostResolver::iterator remoteEndpoint, const shared_ptr< Resolver > &self) |
void | onResolveError (const std::string &errorInfo, const shared_ptr< Resolver > &self) |
Static Public Attributes | |
static const std::string | NULL_PORT = "" |
|
inline |
|
inline |
Definition at line 48 of file dns.cpp.
References NULL_PORT, onResolveError(), and onResolveSuccess().
|
inline |
Definition at line 62 of file dns.cpp.
Referenced by ndn::dns::syncResolve().
|
inline |
Definition at line 68 of file dns.cpp.
Referenced by asyncResolve().
|
inline |
Definition at line 100 of file dns.cpp.
Referenced by asyncResolve().
|
static |
Definition at line 107 of file dns.cpp.
Referenced by asyncResolve().