commit | 3a6da36b4b9d3a4b808e53ed213f97a413afd09f | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Tue Dec 29 20:31:03 2015 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Dec 30 12:54:14 2015 -0800 |
tree | 6fb49af16800c2d9688a9aef1bc05f5c4e702879 | |
parent | bbca1b9ec1cc0a042560db6ab5f66a975647b46e [diff] [blame] |
face+util: Add protected Face::getTransport method and simplify DummyClientFace implementation Change-Id: I42e7e5705f27b6823ed18107b374c9841d2a7500 Refs: #3146
diff --git a/src/face.hpp b/src/face.hpp index 9a01d17..9e6faa4 100644 --- a/src/face.hpp +++ b/src/face.hpp
@@ -672,6 +672,13 @@ return m_ioService; } +NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PROTECTED: + /** + * @brief Get the underlying transport of the face + */ + shared_ptr<Transport> + getTransport(); + private: /**