This is abstract class
Inheritance:
Public Methods
-
DNS()
-
static vector<IPAddress> getHostByName(const string &name) throw(FWException)
- Finds IP adddresses of the host with given host name.
-
static HostEnt getHostByAddr(const IPAddress &addr) throw(FWException)
- Find all host names of host with given IP.
-
static HostEnt getHostByAddr(const IPAddress &addr, int retries_, int timeout_) throw(FWException)
- Return name of host with given IP
-
multimap<string, IPAddress> getNS(const string &domain, Logger* logger, int retries_=RES_DFLRETRY, int timeout_=RES_TIMEOUT) throw(FWException)
- Finds NS records for given domain
-
map<string, set<IPAddress> > findA(const string &domain, Logger* logger, int retries_=RES_DFLRETRY, int timeout_=RES_TIMEOUT) throw(FWException)
- Attempts to fetch zone for given domain for it's name server.
-
map<string, set<IPAddress> > findA(const string &domain, const IPAddress &ns, Logger* logger, int retries_=RES_DFLRETRY, int timeout_=RES_TIMEOUT) throw(FWException)
- Attempts to fetch zone for given domain for specific server.
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 run_impl(Logger* ) throw(FWException)
-
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
This is abstract class
DNS()
static vector<IPAddress> getHostByName(const string &name) throw(FWException)
-
Finds IP adddresses of the host with given host name.
This operation does not run in backgound.
static HostEnt getHostByAddr(const IPAddress &addr) throw(FWException)
-
Find all host names of host with given IP.
This operation does not run in backgound.
static HostEnt getHostByAddr(const IPAddress &addr, int retries_, int timeout_) throw(FWException)
-
Return name of host with given IP
multimap<string, IPAddress> getNS(const string &domain, Logger* logger, int retries_=RES_DFLRETRY, int timeout_=RES_TIMEOUT) throw(FWException)
-
Finds NS records for given domain
map<string, set<IPAddress> > findA(const string &domain, Logger* logger, int retries_=RES_DFLRETRY, int timeout_=RES_TIMEOUT) throw(FWException)
-
Attempts to fetch zone for given domain for
it's name server. If succeeded, finds all 'A'
records in it and returs hostname/IPAddress pairs.
map<string, set<IPAddress> > findA(const string &domain, const IPAddress &ns, Logger* logger, int retries_=RES_DFLRETRY, int timeout_=RES_TIMEOUT) throw(FWException)
-
Attempts to fetch zone for given domain for
specific server. If succeeded, finds all 'A'
records in it and returs hostname/IPAddress pairs.
static string getErrorMessage(int rcode)
- Direct child classes:
- DNS_getNS_query
DNS_findA_query
DNS_bulkBackResolve_query
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.