7#ifndef SIMPLE_REMOVE_WITHOUT_DHCID_H
8#define SIMPLE_REMOVE_WITHOUT_DHCID_H
This is a base class for exceptions thrown from the DNS library module.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
Embodies the "life-cycle" required to carry out a DDNS update.
static const int NCT_DERIVED_STATE_MIN
Value at which custom states in a derived class should begin.
Thrown if the SimpleRemoveWithoutDHCIDTransaction encounters a general error.
SimpleRemoveWithoutDHCIDTransactionError(const char *file, size_t line, const char *what)
Embodies the "life-cycle" required to carry out a DDNS Remove update without removing any matching DH...
void processRemoveOkHandler()
State handler for PROCESS_TRANS_OK_ST.
static const int REMOVING_FWD_RRS_ST
State that attempts to remove FQDN/IP RR for an FQDN.
void readyHandler()
State handler for READY_ST.
void removingFwdRRsHandler()
State handler for REMOVING_FWD_RRS_ST.
virtual void verifyEvents()
Validates the contents of the set of events.
static const int REMOVING_REV_PTRS_ST
State that attempts to remove reverse PTR records.
void selectingRevServerHandler()
State handler for SELECTING_REV_SERVER_ST.
virtual void defineEvents()
Adds events defined by SimpleRemoveWithoutDHCIDTransaction to the event set.
void processRemoveFailedHandler()
State handler for PROCESS_TRANS_FAILED_ST.
void buildRemoveRevPtrsRequest()
Builds a DNS request to remove a reverse DNS entry for a FQDN.
void buildRemoveFwdRRsRequest()
Builds a DNS request to remove forward DNS RR for a FQDN.
void selectingFwdServerHandler()
State handler for SELECTING_FWD_SERVER_ST.
virtual void verifyStates()
Validates the contents of the set of states.
virtual void defineStates()
Adds states defined by SimpleRemoveWithoutDHCIDTransaction to the state set.
void removingRevPtrsHandler()
State handler for REMOVING_REV_PTRS_ST.
virtual ~SimpleRemoveWithoutDHCIDTransaction()
Destructor.
SimpleRemoveWithoutDHCIDTransaction(asiolink::IOServicePtr &io_service, dhcp_ddns::NameChangeRequestPtr &ncr, DdnsDomainPtr &forward_domain, DdnsDomainPtr &reverse_domain, D2CfgMgrPtr &cfg_mgr)
Event sent when replace attempt to fails with address not in use.
boost::shared_ptr< IOService > IOServicePtr
Defines a smart pointer to an IOService instance.
boost::shared_ptr< DdnsDomain > DdnsDomainPtr
Defines a pointer for DdnsDomain instances.
boost::shared_ptr< SimpleRemoveWithoutDHCIDTransaction > SimpleRemoveWithoutDHCIDTransactionPtr
Defines a pointer to a SimpleRemoveWithoutDHCIDTransaction.
boost::shared_ptr< D2CfgMgr > D2CfgMgrPtr
Defines a shared pointer to D2CfgMgr.
boost::shared_ptr< NameChangeRequest > NameChangeRequestPtr
Defines a pointer to a NameChangeRequest.
Defines the logger used by the top-level component of kea-lfc.
This file defines the class NameChangeTransaction.