sensord: ipc: add channel class 57/123157/2
authorkibak.yoon <kibak.yoon@samsung.com>
Tue, 4 Apr 2017 12:15:45 +0000 (21:15 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Wed, 5 Apr 2017 00:53:13 +0000 (09:53 +0900)
commiteae39a262b2ec340fd928181fdb2f39e38072cf0
treedaabf4868b98a151dd9248a869e3ea0dcdbf2177
parentada7f2926f1be75807544324b6f63cb2606837e0
sensord: ipc: add channel class

- channel class is a nexus to a socket which is capable of I/O operations,
  such as read, write, connect, and bind.
- channel class provides:
  - the current state of the channel.
  - the configuration parameters of the channel.
  - the I/O operations that the channel supports.
- channel class can support synchronous/asynchronous send/read call.
- channel_handler:
  - is called by all I/O events(connect/disconnect/read and error)

Change-Id: I85365e7cb443e969653353a83f8110ab690c4303
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/shared/channel.cpp [new file with mode: 0644]
src/shared/channel.h [new file with mode: 0644]
src/shared/channel_handler.h [new file with mode: 0644]