writeRead() is blocking if the response length is non-0, which means the call would return only once the transaction completed on the bus and you have valid data in your response buffer. You can use writeReadAsync() if you don't want your Java code to block, in which case you'd need to wait on the result object before reading the response. In either case, transactions on the buys take place in the same order they are submitted. On Feb 18, 2014 9:10 AM, "Aaron Lim" <[email protected]> wrote:
> hello ytai > then how would IOIO know that the second transaction is ready to begin ? > > -- > You received this message because you are subscribed to the Google Groups > "ioio-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/ioio-users. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/groups/opt_out.
