Implementation of response of group action (for remote resources)
authorHyunJun Kim <hyunjun2.kim@samsung.com>
Fri, 19 Dec 2014 07:59:41 +0000 (16:59 +0900)
committerHyunJun Kim <hyunjun2.kim@samsung.com>
Fri, 19 Dec 2014 07:59:41 +0000 (16:59 +0900)
commit832cb5fa14ec53cdb806865f8431f0de7469dc73
tree459bdd217d44063d68aea097595b1a92ba0794bd
parent71dfed8f5824b0340182df02558c8e637eac3bf6
Implementation of response of group action (for remote resources)

There is no response when resource client send message[POST]
to a group with GROUP_INTERFACE, so client cannot receive any message.

We provide logic about the aggregation of children' response.
Then, merged response will be delivered to client.

Additionally, regarding Sudarshan Prasad's comment of previous commit.
We change the definition of GROUP_INTERFACE.

Change-Id: I6c2550472d1e02cd2606317fcb1796e59e004b78
Signed-off-by: HyunJun Kim <hyunjun2.kim@samsung.com>
resource/csdk/stack/include/internal/ocresource.h
resource/csdk/stack/src/occollection.c
resource/csdk/stack/src/oicgroup.c
resource/examples/groupclient.cpp [new file with mode: 0755]
resource/examples/groupserver.cpp [new file with mode: 0755]
resource/examples/lightserver.cpp [new file with mode: 0755]
resource/examples/makefile [changed mode: 0644->0755]