neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::basic_resolver< Protocol > Class Template Reference

#include <resolver.hpp>

Classes

class  request
 
class  requester
 

Public Types

typedef basic_resolver< Protocolour_type
 
typedef Protocol protocol_type
 
typedef resolver_type::iterator iterator
 
typedef std::shared_ptr< requestrequest_pointer
 
typedef std::vector< request_pointerrequest_list
 

Public Member Functions

 basic_resolver (async_task &aIoTask)
 
 ~basic_resolver ()
 
void resolve (requester &aRequester, const std::string &aHostName, protocol_family aProtocolFamily=IPv4orIPv6)
 
void remove_requester (requester &aRequester)
 

Detailed Description

template<typename Protocol>
class neolib::basic_resolver< Protocol >

Definition at line 77 of file resolver.hpp.

Member Typedef Documentation

◆ iterator

template<typename Protocol >
typedef resolver_type::iterator neolib::basic_resolver< Protocol >::iterator

Definition at line 87 of file resolver.hpp.

◆ our_type

Definition at line 81 of file resolver.hpp.

◆ protocol_type

Definition at line 82 of file resolver.hpp.

◆ request_list

template<typename Protocol >
typedef std::vector<request_pointer> neolib::basic_resolver< Protocol >::request_list

Definition at line 146 of file resolver.hpp.

◆ request_pointer

template<typename Protocol >
typedef std::shared_ptr<request> neolib::basic_resolver< Protocol >::request_pointer

Definition at line 145 of file resolver.hpp.

Constructor & Destructor Documentation

◆ basic_resolver()

template<typename Protocol >
neolib::basic_resolver< Protocol >::basic_resolver ( async_task aIoTask)
inline

Definition at line 153 of file resolver.hpp.

◆ ~basic_resolver()

Definition at line 158 of file resolver.hpp.

Member Function Documentation

◆ remove_requester()

template<typename Protocol >
void neolib::basic_resolver< Protocol >::remove_requester ( requester aRequester)
inline

Definition at line 175 of file resolver.hpp.

◆ resolve()

template<typename Protocol >
void neolib::basic_resolver< Protocol >::resolve ( requester aRequester,
const std::string &  aHostName,
protocol_family  aProtocolFamily = IPv4orIPv6 
)
inline

Definition at line 168 of file resolver.hpp.


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