BIND 10 #3059: Create initial UpdateMgr class
BIND 10 Development
do-not-reply at isc.org
Wed Jul 17 15:37:39 UTC 2013
#3059: Create initial UpdateMgr class
-------------------------------------+-------------------------------------
Reporter: tmark | Owner:
Type: | Status: new
enhancement | Milestone: Sprint-
Priority: | DHCP-20130717
medium | Keywords:
Component: dhcp- | Sensitive: 0
ddns | Sub-Project: DNS
CVSS Scoring: | Estimated Difficulty: 0
Defect Severity: N/A | Total Hours: 0
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Task #6.2 from the task spread sheet. Develop the class structure and
basic event processing loop as described in the DHCP-DDNS design,
discussed in the "D2 Event Processing" section.
The initial implementation should assume/support single-threaded operation
(as excerpted from the design doc):
{{{
while (!shutdown) {
// Execute all ready callbacks, or wait for one
if (io_service.poll() || io_service.run_one()) {
// One or more of the following has occurred
// a. NCR message received and has been queued
// b. Pending DNS IO has completed
// c. Interval timer expired
if (QueueMgr->queueNotEmpty()) {
// Dequeue next pending request
NCR = QueueMgr->dequeue();
// Start a new transaction for the NCR
instantiate_transaction(io_service, NCR);
}
handle_finished_transactions();
} else {
// we are here because there is no more work to do
// somebody stopped io_service, shutdown request likely
culprit
}
}
}}}
--
Ticket URL: <http://bind10.isc.org/ticket/3059>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list