diff options
author | Changgyu Choi <changyu.choi@samsung.com> | 2022-09-07 20:30:09 +0900 |
---|---|---|
committer | Changgyu Choi <changyu.choi@samsung.com> | 2022-09-22 06:35:41 +0000 |
commit | af5d5af8e32f34af5ea327fa62541f20505c3e3e (patch) | |
tree | 8722fb5a85be842b166bf4426a874c8cc74708af /README.md | |
parent | bc3bdf59eaf8510adcebfac91583ae05d2073e37 (diff) | |
download | tidl-af5d5af8e32f34af5ea327fa62541f20505c3e3e.tar.gz tidl-af5d5af8e32f34af5ea327fa62541f20505c3e3e.tar.bz2 tidl-af5d5af8e32f34af5ea327fa62541f20505c3e3e.zip |
Add Dart proxy generator
Change-Id: I439125cdf9cd8d401cbd63edef1fc1771b56ba5d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Diffstat (limited to 'README.md')
-rwxr-xr-x | README.md | 22 |
1 files changed, 16 insertions, 6 deletions
@@ -339,14 +339,24 @@ int rpc_port_proxy_Runnable_disconnect(rpc_port_proxy_Runnable_h h); **Dart** ```dart -class Runnable extends ProxyBase { +abstract class Runnable extends ProxyBase { Runnable(String appid) : super(appid, 'Runnable'); - void onConnected(); - void onDisconnected; - void onRejected(); - - Future<int> Run(Foo foo) async; + // The callback when the connection with stub is connected. + Future<void> onConnected(); + // The callback when the connection with stub is disconnected. + Future<void> onDisconnected(); + // The callback when the connection with stub is failed. + Future<void> onRejected(); + + Future<int> Run(Foo foo); + + // Connects with the stub application. + Future<void> connect() async; + // Connects with the stub application synchronously. + Future<void> connectSync() async; + // Dispose registered delegate interface. + void disposeCallback(String tag); } ``` |