Browse Source

commented about instantiation policy for the IOSocket class.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac221b@2558 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 14 years ago
parent
commit
c994b2e9c7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/bin/auth/asio_link.h

+ 4 - 0
src/bin/auth/asio_link.h

@@ -229,6 +229,10 @@ public:
 /// 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