summaryrefslogtreecommitdiff
path: root/src/framework/common/connection.cpp
diff options
context:
space:
mode:
authorKyungwook Tak <k.tak@samsung.com>2016-05-12 13:50:39 +0900
committerKyungwook Tak <k.tak@samsung.com>2016-05-12 17:11:54 +0900
commit25b51e052ec5fb87500b83401c0afdb7dcf4fde6 (patch)
treecf49995ae31b8d877d6af1b298fbd83526b60d46 /src/framework/common/connection.cpp
parentbaa6556608d674a65d7ddaab897a61cc0a8cfdb9 (diff)
downloadcsr-framework-25b51e052ec5fb87500b83401c0afdb7dcf4fde6.tar.gz
csr-framework-25b51e052ec5fb87500b83401c0afdb7dcf4fde6.tar.bz2
csr-framework-25b51e052ec5fb87500b83401c0afdb7dcf4fde6.zip
Use socket per module (CS, WP, ADMIN)
Change-Id: Ifb0d21c101d51a538eda5c16b2744cf81cdd505d Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Diffstat (limited to 'src/framework/common/connection.cpp')
-rw-r--r--src/framework/common/connection.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/framework/common/connection.cpp b/src/framework/common/connection.cpp
index 8ba9bea..291c265 100644
--- a/src/framework/common/connection.cpp
+++ b/src/framework/common/connection.cpp
@@ -58,7 +58,12 @@ RawBuffer Connection::receive() const
return m_socket.read();
}
-int Connection::getFd() const
+SockId Connection::getSockId() const noexcept
+{
+ return m_socket.getSockId();
+}
+
+int Connection::getFd() const noexcept
{
return m_socket.getFd();
}