I only found in or out argument, but no inout type? anybody knows that?
Short answer: No, there are no in/out parameters for AllJoyn.
Long answer: AllJoyn is effectively an RPC mechanism. This means that all "parameters" get serialized into a data stream that is delivered over a network connection. This makes in/out parameters impossible.
If you are thinking of in/out parameters like C++'s reference parameters to a function, then under the hood, those are really just in parameters that are pointers to modifiable memory. C++ syntax just hides that fact. With AllJoyn, since the data is delivered over a network connection it is not possible for the recipient to directly modify the sender's memory in the same way that C++ function can modify the memory of its caller.
This thread is public, all members of ask.allseenalliance.org can read this page.
Asked: 2015-02-26 19:17:54 -0700
Seen: 36 times
Last updated: Mar 02 '15
© 2014 AllSeen Alliance, Inc. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. AllSeen and AllSeen Alliance are trademarks of the AllSeen Alliance, Inc.
Linux is a registered trademark of Linus Torvalds.