Skip to content

129 setting properties#130

Open
nschoe wants to merge 9 commits intomasterfrom
129-SettingProperties
Open

129 setting properties#130
nschoe wants to merge 9 commits intomasterfrom
129-SettingProperties

Conversation

@nschoe
Copy link
Collaborator

@nschoe nschoe commented Sep 26, 2016

So this should be a good start at implementing the 'Set' function: we should be able to actually 'Get' and 'Set' DBus properties now!

I have tested with single types as well as complex / containers type. I have tried several "nested" cases, but it is entirely possible that I've left some aside. So please test and report if there are some use-cases that won't work. We'll try to fix it in the mean time.

Also, I must have messed up my branches because in the diff I see that I have included the changed in index.js concerning interface and error names checking.

So basically, I have made a function that checks an error and interface name against the DBus naming convention.
I have included this chekc in bus.sendError() and bus.exportInterface() so that it's not possible to export an interface whose name meet DBus naming requirements (or send an error whose name doesn't).

I'm sorry, it should have been in a separate branch, in a separate issue, but I messed this up somehow. I am not motivated enough to rebase, especially since this is a minor change :-)

@mvduin mvduin mentioned this pull request May 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant