[svn] commit: r2558 - /branches/trac221b/src/bin/auth/asio_link.h

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Jul 21 01:11:39 UTC 2010


Author: jinmei
Date: Wed Jul 21 01:11:39 2010
New Revision: 2558

Log:
commented about instantiation policy for the IOSocket class.

Modified:
    branches/trac221b/src/bin/auth/asio_link.h

Modified: branches/trac221b/src/bin/auth/asio_link.h
==============================================================================
--- branches/trac221b/src/bin/auth/asio_link.h (original)
+++ branches/trac221b/src/bin/auth/asio_link.h Wed Jul 21 01:11:39 2010
@@ -229,6 +229,10 @@
 /// Derived class implementations are completely hidden within the
 /// implementation.  User applications only get access to concrete
 /// \c IOSocket objects via the abstract interfaces.
+/// We may revisit this decision when we generalize the wrapper and more
+/// modules use it.  Also, at that point we may define a separate (visible)
+/// derived class for testing purposes rather than providing factory methods
+/// (i.e., getDummy variants below).
 class IOSocket {
     ///
     /// \name Constructors and Destructor




More information about the bind10-changes mailing list