Why are there two signatures in the About interface definition for objectDescription?

asked 2015-06-02 19:38:21 -0700

ebess gravatar image

I noticed that the About interface has two ways to define the objectDescription signature. It's a(sas) in the introspection xml and a(oas) in the description of the message arguments. Why doesn't the xml signature match that of the message argument?

edit retag flag offensive close merge delete


Any examples or sources you can provide? It's difficult to figure out what you mean.

julianbros ( 2015-06-02 22:52:57 -0700 )edit

Sorry about the confusion. I was referring to what's described here: https://allseenalliance.org/developers/learn/core/about-announcement/interface This is the first mention of "a(oas)": a(oas) GetObjectDescription(), and in the AllJoyn Introspection XML, that same method reply has signature a(sas)

ebess ( 2015-06-03 08:06:41 -0700 )edit

might this be related to the deprecated interfaces? https://jira.allseenalliance.org/browse/ASACORE-1419https://jira.allseenalliance.org/browse/ASABASE-452 etc

ry.jones ( 2015-06-03 11:59:04 -0700 )edit

1 answer

Sort by » oldest newest most voted

answered 2015-06-08 02:53:00 -0700

praveenb gravatar image

Looks like you found a bug in the web documentation. The web documentation is not accurate.

The object description is always oas (a struct with object path and an array of interfaces under that object). As you noted, object description is part of the Announce signal and is returned by GetObjectDescription method request. In both cases, the information returned is identical and has signature oas.

Given that source code is the normative reference in AllJoyn, one can find that oas is the correct signature at the following:

Kindly open a bug specifying the typo in the About web documentation here: https://jira.allseenalliance.org/browse/ASADOC

In fact, given that web documentation is a git project itself, you might want to submit a patch for this markdown file: https://git.allseenalliance.org/cgit/extras/webdocs.git/tree/docs/learn/core/about-announcement/interface.md

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

Question Tools

1 follower


Asked: 2015-06-02 19:38:21 -0700

Seen: 133 times

Last updated: Jun 08 '15