BIND 10 trac1599, updated. 3b8892835a95f7b17f93f5f3ca36c14da1a82363 [1599] Comment on unsupported method
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Feb 27 18:37:43 UTC 2012
The branch, trac1599 has been updated
via 3b8892835a95f7b17f93f5f3ca36c14da1a82363 (commit)
from ccc2fb769ced7cef416b55d9074591022b8a673b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3b8892835a95f7b17f93f5f3ca36c14da1a82363
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Mon Feb 27 19:36:12 2012 +0100
[1599] Comment on unsupported method
-----------------------------------------------------------------------
Summary of changes:
src/lib/asiodns/sync_udp_server.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/asiodns/sync_udp_server.h b/src/lib/asiodns/sync_udp_server.h
index de9eb51..85a9e37 100644
--- a/src/lib/asiodns/sync_udp_server.h
+++ b/src/lib/asiodns/sync_udp_server.h
@@ -104,6 +104,11 @@ public:
/// \brief Clones the object
///
+ /// Since cloning is for the use of coroutines, the synchronous UDP server
+ /// does not need to be cloned. Therefore supporting it would be needless
+ /// work, and trying to clone it would be a programmer error anyway, this
+ /// throws Unexpected.
+ ///
/// \return a newly allocated copy of this object
virtual DNSServer* clone() {
isc_throw(Unexpected, "SyncUDPServer can't be cloned.");
More information about the bind10-changes
mailing list