Commit cdc16d8c authored by Marcin Siodelski's avatar Marcin Siodelski

[5094] Addressed review comments.

- Removed unncessary public:
- Added function description
parent ea2e2736
......@@ -78,7 +78,6 @@ class IOEndpoint;
template <typename C>
class IOAsioSocket : public IOSocket {
public:
///
/// \name Constructors and Destructor
......
......@@ -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 C Acceptor callback type.
template<typename C>
class TCPAcceptor : public IOSocket {
public:
......
......@@ -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_);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment