libutil++  1.9.3
 All Classes Functions Variables
Public Member Functions | Protected Attributes | List of all members
sella::net::StoreDNSCallback Class Reference
Inheritance diagram for sella::net::StoreDNSCallback:
sella::net::DNSCallback

Public Member Functions

virtual void success (const std::string &qname, const std::string &cname, int ttl, const std::vector< std::string > &responses=empty) throw ()
 
virtual void failure (const std::string &qname, Error error) throw ()
 
const std::string & getCname (void) const throw ()
 
int getTTL (void) const throw ()
 
const std::vector< std::string > & getResponses (void) const throw ()
 
Error getError (void) const throw ()
 
const char * getErrorName (void) const throw ()
 
virtual void clear (void) throw ()
 
- Public Member Functions inherited from sella::net::DNSCallback
virtual void failure (const std::string &qname, Error error)=0 throw ()
 
const std::string & getQname (void) const throw ()
 
int getRecord (void) const throw ()
 
int getProtocol (void) const throw ()
 
int getFlags (void) const throw ()
 

Protected Attributes

std::string cname
 
int ttl
 
std::vector< std::string > responses
 
Error error
 
- Protected Attributes inherited from sella::net::DNSCallback
std::string qname
 
int record
 
int protocol
 
int flags
 

Additional Inherited Members

- Public Types inherited from sella::net::DNSCallback
enum  Error : int {
  None = DNS_E_NOERROR, Temporary = DNS_E_TEMPFAIL, Protocol = DNS_E_PROTOCOL, NXDomain = DNS_E_NXDOMAIN,
  NoData = DNS_E_NODATA, NoMemory = DNS_E_NOMEM, BadQuery = DNS_E_BADQUERY
}
 
typedef std::shared_ptr
< DNSCallback
shared
 
typedef DNSCallbackptr
 
- Static Public Member Functions inherited from sella::net::DNSCallback
static const char * getErrorDetail (Error error)
 
static const char * getErrorName (Error error)
 
- Static Public Attributes inherited from sella::net::DNSCallback
static const std::vector
< IPAddress
none
 
static const std::vector
< std::string > 
empty
 

Detailed Description

Definition at line 108 of file DNSCallback.h.


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