... | @@ -66,7 +66,7 @@ int main(int argc, char *argv[]) { |
... | @@ -66,7 +66,7 @@ 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.
|
|
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 execution of the app is very short and it is executed lots of time.
|
|
* 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.
|
|
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.
|
... | | ... | |