[svn] commit: r3311 - in /branches/trac327/src/bin: auth/auth_srv.h recurse/recursor.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Oct 21 23:20:54 UTC 2010
Author: each
Date: Thu Oct 21 23:20:54 2010
New Revision: 3311
Log:
More review comments
Modified:
branches/trac327/src/bin/auth/auth_srv.h
branches/trac327/src/bin/recurse/recursor.h
Modified: branches/trac327/src/bin/auth/auth_srv.h
==============================================================================
--- branches/trac327/src/bin/auth/auth_srv.h (original)
+++ branches/trac327/src/bin/auth/auth_srv.h Thu Oct 21 23:20:54 2010
@@ -56,12 +56,27 @@
//@}
/// \brief Process an incoming DNS message, then signal 'server' to resume
+ ///
+ /// A DNS query (or other message) has been received by a \c DNSServer
+ /// object. Find an answer, then post the \c DNSServer object on the
+ /// I/O service queue and return. When the server resumes, it can
+ /// send the reply.
+ ///
+ /// \param io_message The I/O service queue
+ /// \param message Pointer to the \c Message object
+ /// \param buffer Pointer to an \c OutputBuffer for the resposne
+ /// \param server Pointer to the \c DNSServer
void processMessage(const asiolink::IOMessage& io_message,
isc::dns::MessagePtr message,
isc::dns::OutputBufferPtr buffer,
asiolink::DNSServer* server);
- // \brief Set and get verbose mode
+
+ /// \brief Set verbose flag
+ ///
+ /// \param on The new value of the verbose flag
void setVerbose(bool on);
+
+ /// \brief Get the current value of the verbose flag
bool getVerbose() const;
/// \brief Set and get the config session
Modified: branches/trac327/src/bin/recurse/recursor.h
==============================================================================
--- branches/trac327/src/bin/recurse/recursor.h (original)
+++ branches/trac327/src/bin/recurse/recursor.h Thu Oct 21 23:20:54 2010
@@ -48,13 +48,27 @@
//@}
/// \brief Process an incoming DNS message, then signal 'server' to resume
+ ///
+ /// A DNS query (or other message) has been received by a \c DNSServer
+ /// object. Find an answer, then post the \c DNSServer object on the
+ /// I/O service queue and return. When the server resumes, it can
+ /// send the reply.
+ ///
+ /// \param io_message The I/O service queue
+ /// \param message Pointer to the \c Message object
+ /// \param buffer Pointer to an \c OutputBuffer for the resposne
+ /// \param server Pointer to the \c DNSServer
void processMessage(const asiolink::IOMessage& io_message,
isc::dns::MessagePtr message,
isc::dns::OutputBufferPtr buffer,
asiolink::DNSServer* server);
- // \brief Set and get verbose mode
+ /// \brief Set verbose flag
+ ///
+ /// \param on The new value of the verbose flag
void setVerbose(bool on);
+
+ /// \brief Get the current value of the verbose flag
bool getVerbose() const;
/// \brief Set and get the config session
More information about the bind10-changes
mailing list