... | ... | @@ -65,9 +65,10 @@ int main(int argc, char *argv[]) { |
|
|
|
|
|
In Java and Python, you also have the *getResult()* method and function to retrieve the string result. If you need to set and get a binary result, use the related *setBinaryResult()* and *getBinaryResult()* methods and functions.
|
|
|
|
|
|
Use the return value can be very helpful to use an app as a function. However it is not recommended to use it in those cases:
|
|
|
Use the return value can be very helpful to use an app as a function. However it is **not recommended** to use it in those cases:
|
|
|
* The execution of the app is very short.
|
|
|
* The data passed are big.
|
|
|
* The data passed are big.
|
|
|
|
|
|
Indeed in that case it is better to setup a requester/responder communication to avoid too many creation and destruction of processes and to avoid a network overload.
|
|
|
|
|
|
|
... | ... | |