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

◆ protocol

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

Definition at line 34 of file dns.cpp.

◆ iterator

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

Definition at line 35 of file dns.cpp.

◆ query

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

Definition at line 36 of file dns.cpp.

Constructor & Destructor Documentation

◆ Resolver()

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

Definition at line 39 of file dns.cpp.

Member Function Documentation

◆ asyncResolve()

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().

◆ syncResolve()

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

Definition at line 64 of file dns.cpp.

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

Referenced by ndn::dns::syncResolve().


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