Inheritance:
Public Methods
-
DNS_bulkBackResolve_query(set<IPAddress>, unsigned int nthreads, int retries_=RES_DFLRETRY, int timeout_=RES_TIMEOUT)
-
virtual ~DNS_bulkBackResolve_query()
-
virtual void run_impl(Logger* logger) throw(FWException)
- Resolves all hosts in list.
-
map<IPAddress, HostEnt> getResult()
-
set<IPAddress> getFailed()
Protected Fields
-
map<IPAddress, HostEnt> result
-
Mutex failed_mutex
-
set<IPAddress> failed
-
Mutex result_mutex
-
queue<IPAddress> ips
-
Mutex queue_mutex
-
int retries
-
int timeout
Inherited from DNS:
Public Methods
-
static vector<IPAddress> getHostByName(const string &name) throw(FWException)
-
static HostEnt getHostByAddr(const IPAddress &addr) throw(FWException)
-
static HostEnt getHostByAddr(const IPAddress &addr, int retries_, int timeout_) throw(FWException)
-
multimap<string, IPAddress> getNS(const string &domain, Logger* logger, int retries_=RES_DFLRETRY, int timeout_=RES_TIMEOUT) throw(FWException)
-
map<string, set<IPAddress> > findA(const string &domain, Logger* logger, int retries_=RES_DFLRETRY, int timeout_=RES_TIMEOUT) throw(FWException)
-
map<string, set<IPAddress> > findA(const string &domain, const IPAddress &ns, Logger* logger, int retries_=RES_DFLRETRY, int timeout_=RES_TIMEOUT) throw(FWException)
Protected Methods
-
static string getErrorMessage(int rcode)
Public Fields
-
SigC::Signal1<int,int> completed
Public Methods
-
void detach(Pool<BackgroundOp>* p)
-
virtual pthread_t start_operation(ostream* ) throw(FWException)
-
virtual void stop_operation()
-
bool get_running_flag()
-
bool get_stop_program_flag()
-
FWException* get_latest_error()
-
gint monitor_operation()
Protected Fields
-
FWException* error
-
Pool<BackgroundOp> * pool
-
Mutex pool_mutex
Protected Methods
-
virtual void operation_completed()
-
void set_running_flag()
-
void clear_running_flag()
-
virtual void check_stop() throw(FWException)
-
void clear_stop_program_flag()
-
void set_stop_program_flag()
Documentation
DNS_bulkBackResolve_query(set<IPAddress>, unsigned int nthreads, int retries_=RES_DFLRETRY, int timeout_=RES_TIMEOUT)
virtual ~DNS_bulkBackResolve_query()
virtual void run_impl(Logger* logger) throw(FWException)
-
Resolves all hosts in list. If resolving at least of one
of them failed - exception is thrown.
Even when exception is thrown, successfully resolved hosts
are returned.
map<IPAddress, HostEnt> getResult()
set<IPAddress> getFailed()
map<IPAddress, HostEnt> result
Mutex failed_mutex
set<IPAddress> failed
Mutex result_mutex
queue<IPAddress> ips
Mutex queue_mutex
int retries
int timeout
- This class has no child classes.
- Friends:
- void *DNS_bulkBackResolve_Thread(void *)
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.