Re: DBus Specification questions
Thiago Macieira <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <3131587.e6gWlqtua3@tjmaciei-mobl1> |
On Thursday, 2 April 2020 21:43:42 -03 Lawrence D'Oliveiro wrote: > On Thu, 02 Apr 2020 21:37:11 -0300, Thiago Macieira wrote: > > On Tuesday, 31 March 2020 00:07:02 -03 Robert Middleton wrote: > >> 2. Even though it is valid to have a METHOD_CALL without an > >> interface, is it valid to disregard messages that don't have an > >> interface, or should an effort be made to do something with the > >> message? Would it be valid to return an error in this case? > > > > Disregarding or returning an is not correct. You should match to a > > method that one of the interfaces provides. If more than one matches, > > it's unspecified which one gets called. > > So what should you do if there is no match? Then UnknownMethod.