[Applications.ComponentBased] Modify and Add classes for IPC feature (#2675)
authorhjhun <36876573+hjhun@users.noreply.github.com>
Wed, 24 Mar 2021 04:13:26 +0000 (13:13 +0900)
committerGitHub <noreply@github.com>
Wed, 24 Mar 2021 04:13:26 +0000 (13:13 +0900)
commit1909fdad0f2b14c4dafaffe56212d6e121234bae
tree516562eebdfe28c673ab9a5ab334b3fc5ec86bb9
parentfa096d66157ba48bcdf350c29ac312bf24967d32
[Applications.ComponentBased] Modify and Add classes for IPC feature (#2675)

* Change directory name

The directory name is changed to 'ComponentPort'.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Remove unncessary interop parcel methods

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix descriptions

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix typo

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix example code

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Rename directory to Port

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix ComponentPort implementation

Changes:
 - Removes abstract keyword from ComponentPort class
 - Changes OnRequestEvent() method to use virtual keyword instead of abstract keyword
 - Adds RequestEventArgs for OnRequestEvent()
 - Adds ComponentTask class for WaitForEvent() call
 - Changes the name of SendSync() to SendAndReceive().
 - Adds SendAndReceiveAsync() method
 - Adds WaitForPort() method

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Add EventHandler

- Uses EventHandler instead of virtual method

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix WaitForPort implementation

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix descriptions and implemenation

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix wrong implemenations and descriptions

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix descipriton of ComponentTask

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix WaitForPortCore()

- Uses Task.FromResult()

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Fix wrong description about permission denied error

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/Tizen.Applications.ComponentBased.Port/Interop/Interop.ComponentPort.cs
src/Tizen.Applications.ComponentBased.Port/Interop/Interop.Parcel.cs
src/Tizen.Applications.ComponentBased.Port/Tizen.Applications.ComponentBased.Port/ComponentPort.cs
src/Tizen.Applications.ComponentBased.Port/Tizen.Applications.ComponentBased.Port/ComponentTask.cs [new file with mode: 0755]
src/Tizen.Applications.ComponentBased.Port/Tizen.Applications.ComponentBased.Port/RequestEventArgs.cs [new file with mode: 0755]