How to interpret Notification Producer Interface?

asked 2014-12-01 04:19:17 -0700

almcalle gravatar image

I have a doubt trying to understand the Notification Service Framework Interface document. While all interfaces are said to be Mandatory, I do not understand the utility of Notification Producer Interface on Consumer's side. Maybe the problem is that I do not really understand the difference, in terms of Interfaces, between Producer and Consumer. Anyone who can help me?

Thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-12-01 22:15:39 -0700

bspencer gravatar image

There is no difference in the Interface between the Notification and Producer side of the service. An Interface is the contract at which applications will communicate so that they can understand the other side. Think of an Interface as a header file or if you are a Java developer a Java Interface. In order for a Producer to send a Notification Signal it needs to know how to format the AllJoyn Message over the wire so that it can be understood by Consumer applications. As such it needs to know the Interface name, member(signal name), argument signature, and the Object Path that it will be sent from. The Consumer also needs this EXACT same information so that it knows how to unpack the AllJoyn Message and call the register signal handler.

For more information on Notification Service look at the new AllSeen Alliance web documentation.

edit flag offensive delete publish link more


Thanks, it helped me to understand this better.

almcalle ( 2014-12-02 00:19:36 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-12-01 04:19:17 -0700

Seen: 174 times

Last updated: Dec 02 '14