From: José Bollo Date: Fri, 16 Sep 2016 16:47:57 +0000 (+0200) Subject: Improvement of the documentation X-Git-Tag: blowfish_2.0.3~6 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=99fb10ecca6b1679c1fe402508216c0f82140ef5;p=src%2Fapp-framework-binder.git Improvement of the documentation Change-Id: I8f220d7508d939a16eba956ab1fdf975f4048332 Signed-off-by: José Bollo --- diff --git a/doc/FAQ.html b/doc/FAQ.html index 5cc8b653..f3584e0e 100644 --- a/doc/FAQ.html +++ b/doc/FAQ.html @@ -7,10 +7,10 @@ Frequently Asked Question about AFB-DAEMON + -
diff --git a/doc/afb-application-writing.html b/doc/afb-application-writing.html index 12a2f13f..9d051d5e 100644 --- a/doc/afb-application-writing.html +++ b/doc/afb-application-writing.html @@ -8,29 +8,47 @@ HOWTO WRITE an APPLICATION above AGL FRAMEWORK - +
@@ -184,7 +202,7 @@ ON-REPLY 1:auth/check: {"jtype":"afb-reply","request&qu

This object contains at least 2 mandatory fields of name jtype and request and one optional field of name response.

Template

This is a template of replies:

-
{
+
{
    "jtype": "afb-reply",
    "request": {
       "status": "success",
@@ -194,7 +212,7 @@ ON-REPLY 1:auth/check: {"jtype":"afb-reply","request&qu
       "reqid": "application-generated-id-23456"
    },
    "response": ....any response object....
-}
+}

Field jtype

The field jtype must have a value of type string equal to "afb-reply".

Field request

@@ -216,11 +234,11 @@ ON-REPLY 1:auth/check: {"jtype":"afb-reply","request&qu

This object contains at least 2 mandatory fields of name jtype and event and one optional field of name data.

Template

Here is a template of event:

-
{
+
{
    "jtype": "afb-event",
    "event": "sample_api_name/sample_event_name",
    "data": ...any event data...
-}
+}

Field jtype

The field jtype must have a value of type string equal to "afb-event".

Field event

diff --git a/doc/afb-bindings-overview.html b/doc/afb-bindings-overview.html index b650860c..0ffc769a 100644 --- a/doc/afb-bindings-overview.html +++ b/doc/afb-bindings-overview.html @@ -7,10 +7,10 @@ Overview of bindings shipped with AFB-Daemon + -
diff --git a/doc/afb-bindings-writing.html b/doc/afb-bindings-writing.html index b32912b6..ea03801f 100644 --- a/doc/afb-bindings-writing.html +++ b/doc/afb-bindings-writing.html @@ -7,35 +7,53 @@ HOWTO WRITE a BINDING for AFB-DAEMON - +

HOWTO WRITE a BINDING for AFB-DAEMON

José Bollo

-

24 juin 2016

+

27 juillet 2016