NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::dns::Resolver Class Reference
Inheritance diagram for ndn::dns::Resolver:
Collaboration diagram for ndn::dns::Resolver:

Public Types

typedef boost::asio::ip::udp protocol
 
typedef protocol::resolver::iterator iterator
 
typedef protocol::resolver::query query
 

Public Member Functions

 Resolver (boost::asio::io_service &ioService, const AddressSelector &addressSelector)
 
void asyncResolve (const query &q, const SuccessCallback &onSuccess, const ErrorCallback &onError, time::nanoseconds timeout, const shared_ptr< Resolver > &self)
 
iterator syncResolve (const query &q)
 

Detailed Description

Definition at line 31 of file dns.cpp.

Member Typedef Documentation

typedef boost::asio::ip::udp ndn::dns::Resolver::protocol

Definition at line 34 of file dns.cpp.

typedef protocol::resolver::iterator ndn::dns::Resolver::iterator

Definition at line 35 of file dns.cpp.

typedef protocol::resolver::query ndn::dns::Resolver::query

Definition at line 36 of file dns.cpp.

Constructor & Destructor Documentation

ndn::dns::Resolver::Resolver ( boost::asio::io_service &  ioService,
const AddressSelector addressSelector 
)
inline

Definition at line 39 of file dns.cpp.

Member Function Documentation

void ndn::dns::Resolver::asyncResolve ( const query q,
const SuccessCallback onSuccess,
const ErrorCallback onError,
time::nanoseconds  timeout,
const shared_ptr< Resolver > &  self 
)
inline

Definition at line 49 of file dns.cpp.

References ndn::util::scheduler::Scheduler::scheduleEvent().

iterator ndn::dns::Resolver::syncResolve ( const query q)
inline

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