summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChanggyu Choi <changyu.choi@samsung.com>2022-09-07 20:30:09 +0900
committerChanggyu Choi <changyu.choi@samsung.com>2022-09-22 06:35:41 +0000
commitaf5d5af8e32f34af5ea327fa62541f20505c3e3e (patch)
tree8722fb5a85be842b166bf4426a874c8cc74708af /README.md
parentbc3bdf59eaf8510adcebfac91583ae05d2073e37 (diff)
downloadtidl-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-xREADME.md22
1 files changed, 16 insertions, 6 deletions
diff --git a/README.md b/README.md
index 8022514..a72290c 100755
--- a/README.md
+++ b/README.md
@@ -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);
}
```