interface inheritance

asked 2014-05-08 10:20:57 -0700

mattpho gravatar image

Does AllJoyn support interface inheritance? For example, IDeviceEx derives from IDevice and automatically inherit all member of IDevice. If yes, could you please point to an example?

Thank you Matt

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-05-09 21:58:37 -0700

georgen gravatar image

There is no concept of interface inheritance in AllJoyn.

The closest you could get to inheritance would be implementing multiple interfaces in a single bus object. This is not ideal since each interface has its own name and path data. The implementation details could be nested in class that hides the fact that it implements two different interfaces.

Sorry I don't have a good example.

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

Question Tools

1 follower


Asked: 2014-05-08 10:20:57 -0700

Seen: 108 times

Last updated: May 09 '14