Changeset 259
- Timestamp:
- Jul 15, 2011, 11:32:36 AM (13 years ago)
- Location:
- trunk/docs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/api/examples.txt
r204 r259 21 21 } 22 22 23 In this really short example you can see how to create ZOO.Processclass instance and23 In this really short example you can see how to create ``ZOO.Process`` class instance and 24 24 call the Execute method on such an instance. Then you'll just need to return a JavaScript 25 25 object containing the attributes result and outputs, which I'm sure you already know 26 what is about. The first is about the status of the process (can be ZOO.SERVICE_SUCEEDED,27 ZOO.SERVICE_FAILEDand so on), the last is obviously the resulting maps (take a28 look at the maps internal data structure used by ZOO Kernel in service.h).26 what is about. The first is about the status of the process (can be ``ZOO.SERVICE_SUCEEDED``, 27 ``ZOO.SERVICE_FAILED`` and so on), the last is obviously the resulting maps (take a 28 look at the maps internal data structure used by ZOO Kernel in ``service.h``). 29 29 30 30 ZOO.UpdateStatus … … 48 48 } 49 49 50 You can see in this sample code how to use the ZOOUpdateStatusfunction to update the50 You can see in this sample code how to use the ``ZOOUpdateStatus`` function to update the 51 51 current status of your running process. This information will be really helpfull when the 52 ZOO Kernel will run your JavaScript Service in background mode (if the user set to true53 the storeExecuteResponseparameter in his request).52 ZOO Kernel will run your JavaScript Service in background mode (if the user set to ``true`` 53 the ``storeExecuteResponse`` parameter in his request). 54 54 -
trunk/docs/services/zcfg-reference.txt
r206 r259 31 31 You can see below a description of the main metadata information: 32 32 33 .. code-block:: guess33 .. code-block:: none 34 34 :linenos: 35 35 … … 59 59 A typical list of inputs (``<DataInputs>``) look like the following: 60 60 61 .. code-block:: guess61 .. code-block:: none 62 62 :linenos: 63 63 … … 86 86 A typical ``<DataOutputs>`` node looks like the following: 87 87 88 .. code-block:: guess88 .. code-block:: none 89 89 :linenos: 90 90
Note: See TracChangeset
for help on using the changeset viewer.