summaryrefslogtreecommitdiff
path: root/api/franca/navigation/navigationcore/Session.fidl
diff options
context:
space:
mode:
Diffstat (limited to 'api/franca/navigation/navigationcore/Session.fidl')
-rw-r--r--api/franca/navigation/navigationcore/Session.fidl20
1 files changed, 8 insertions, 12 deletions
diff --git a/api/franca/navigation/navigationcore/Session.fidl b/api/franca/navigation/navigationcore/Session.fidl
index 9da1b40..0898a12 100644
--- a/api/franca/navigation/navigationcore/Session.fidl
+++ b/api/franca/navigation/navigationcore/Session.fidl
@@ -27,7 +27,6 @@ interface Session {
}
<** @description : createSession = This method creates a new session and retrieves a handle .
- notify(SESSION_ERROR_NOMORESESSIONHANDLES) is emitted if no more session handles are available
**>
method createSession {
in {
@@ -43,16 +42,23 @@ interface Session {
<** @description : sessionHandle **>
Handle sessionHandle
}
+ error {
+ OK
+ SESSION_ERROR_NOMORESESSIONHANDLES //no more session handles are available
+ }
}
<** @description : deleteSession = This method deletes a session and its associated resources .
- notify(SESSION_ERROR_SESSIONNOTAVAILABLE) is emitted if an application tries to delete a session handle that is not available
**>
method deleteSession {
in {
<** @description : sessionHandle **>
Handle sessionHandle
}
+ error {
+ OK
+ SESSION_ERROR_SESSIONNOTAVAILABLE //an application tries to delete a session handle that is not available
+ }
}
<** @description : This method returns whether a given session handle is available or not (for example because it was deleted) .**>
@@ -83,14 +89,4 @@ interface Session {
Handle sessionHandle
}
}
-
- <**
- @description : notify = This signal is emitted when something wrong occured when invoking the API
- **>
- broadcast notify {
- out {
- Notification notification
- }
- }
-
}