Next steps of Advertisement and Discovery

asked 2015-09-03 06:47:09 -0700

Excel gravatar image

When once the advertisement and discovery ends with forming the logical bus, what other actions are possible on this formed connection. a) Does invocation of the remote procedures the only use of this? b) On this formed connection, can I transfer huge chunk of data? If yes what is the limit?

edit retag flag offensive close merge delete


you might ask on the core mailing list. https://lists.allseenalliance.org/mailman/listinfo/allseen-core

ry.jones ( 2015-09-09 14:00:37 -0700 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2015-09-03 23:46:31 -0700

mayo gravatar image

Well, alljoyn messages are limited to 128kb. For big data you'd need to split it into peaces and send it as 128kb messages. So, technically, yes you could transfer it, but i wouldnt recommend this way.

edit flag offensive delete publish link more


Is it just for the exchange of messages? OR Does invocation of the remote procedures the only other use of this? If No, what else can be done on the established connection.

Excel ( 2015-09-03 23:55:03 -0700 )edit

answered 2015-09-09 23:45:38 -0700

praveenb gravatar image

To be more specific, the logical bus is formed only after a session is established between applications. The bus is not yet formed after advertisement and discovery.

It is over an established session that applications can introspect each other, invoke method calls, send signals, and get/set properties using AllJoyn.

AllJoyn is a message-based communication mechanism and all of introspection (which is actually a method call under-the-covers), method calls, signals and get/set properties are implemented via message passing. All communication between applications in AllJoyn takes place over sessions. The maximum message size (including AllJoyn message headers) is 128KB when using Standard Core library implementation and 64KB when using Thin Core library implementation.

If it is desired to transfer a huge blob of data, then one option is to transfer multiple smaller pieces from the sender and concatenate them at the receiver.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-09-03 06:47:09 -0700

Seen: 86 times

Last updated: Sep 09 '15