BIND 10 #2943: extensions to ZoneTableSegment and complete ConfigurableClientList::getStatus
BIND 10 Development
do-not-reply at isc.org
Thu May 9 12:42:07 UTC 2013
#2943: extensions to ZoneTableSegment and complete
ConfigurableClientList::getStatus
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: task | Status: new
Priority: medium | Milestone: Next-
Component: data source | Sprint-Proposed
Keywords: | Resolution:
Sensitive: 0 | CVSS Scoring:
Sub-Project: DNS | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | shared memory data source
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Comment (by muks):
Replying to [ticket:2943 jinmei]:
> To do so, we need two small extensions to the `ZoneTableSegment`
> class:
>
> {{{#!cpp
> class ZoneTableSegment {
> public:
> /// ZoneTableSegmentLocal returns "local"; ZoneTableSegmentMapped
returns
> /// "mapped"
> virtual std::string getStringType() const = 0;
>
> /// ZoneTableSegmentLocal always returns true;
ZoneTableSegmentMapped
> /// returns true iff the memory segment has been set by reset().
> virtual bool isUsable() const = 0;
> };
> }}}
>
> In this task, we implement these extensions (base class, local and
> mapped) and complete getStatus() using these methods.
These two extension methods to `ZoneTableSegment` will be implemented in
#2850, as at least one of them needs to be referred in documentation it
seems. This will also make code inside `ZoneTableSegmentMapped` a little
more meaningful.
--
Ticket URL: <http://bind10.isc.org/ticket/2943#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list