]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5094] Addressed review comments.
authorMarcin Siodelski <marcin@isc.org>
Fri, 6 Jan 2017 13:14:21 +0000 (14:14 +0100)
committerMarcin Siodelski <marcin@isc.org>
Fri, 6 Jan 2017 13:14:21 +0000 (14:14 +0100)
- Removed unncessary public:
- Added function description

src/lib/asiolink/io_asio_socket.h
src/lib/asiolink/tcp_acceptor.h
src/lib/asiolink/tcp_socket.h

index f043674d37560d4895979b239f55310f68e84fc9..d3881b11dc8b9c52a021077c91375c8202d51af5 100644 (file)
@@ -78,7 +78,6 @@ class IOEndpoint;
 
 template <typename C>
 class IOAsioSocket : public IOSocket {
-public:
 
     ///
     /// \name Constructors and Destructor
index e9a186929068d20a741d9ccb3a2e2c4e3ef3e395..67759863f7b6465c4f59a09b2f097502fa80903e 100644 (file)
@@ -26,7 +26,7 @@ namespace asiolink {
 /// Internally it uses @c boost::asio::ip::tcp::acceptor class to implement
 /// the acceptor service.
 ///
-/// @tparam Acceptor callback type.
+/// @tparam Acceptor callback type.
 template<typename C>
 class TCPAcceptor : public IOSocket {
 public:
index 2282a31974d6d76153edb8adbd7686175399f6b8..132ba117e78d5661390e36c3b2edfdf5692cec1a 100644 (file)
@@ -153,6 +153,9 @@ public:
     /// \brief Close socket
     virtual void close();
 
+    /// \brief Returns reference to the underlying ASIO socket.
+    ///
+    /// \return Reference to underlying ASIO socket.
     virtual boost::asio::ip::tcp::socket& getASIOSocket() const {
         return (socket_);
     }