sensord: ipc: add socket class 81/123081/5
authorkibak.yoon <kibak.yoon@samsung.com>
Tue, 4 Apr 2017 09:43:36 +0000 (18:43 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Wed, 5 Apr 2017 00:52:28 +0000 (09:52 +0900)
commit6549a6d6f6503fd384d0e61eaa27f70a9b2f4f72
tree56fa844ef5d288cb365edbad5b15076b3285fabc
parent834df86f338de3ee2428f1b9aedd4703e194b233
sensord: ipc: add socket class

- socket class is a wrapper class of unix domain socket
- supported socket types : stream_socket, seqpacket_socket

- TC : $ sensorctl test auto ipc_socket
  - [PASS] sensor_ipc_socket.socket_p_0
  - [PASS] sensor_ipc_socket.socket_p_10
  - [PASS] sensor_ipc_socket.socket_p_1000

Change-Id: I2cb7fcb360d4a9a0c87c77d3e2b39c2bb0c06380
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/sensorctl/testcase/unit_socket.cpp [new file with mode: 0644]
src/shared/seqpacket_socket.cpp [new file with mode: 0644]
src/shared/seqpacket_socket.h [new file with mode: 0644]
src/shared/socket.cpp [new file with mode: 0644]
src/shared/socket.h [new file with mode: 0644]
src/shared/stream_socket.cpp [new file with mode: 0644]
src/shared/stream_socket.h [new file with mode: 0644]