DBus Specification questions

Thiago Macieira thiago at kde.org
Fri Apr 3 01:35:56 UTC 2020


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.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products





More information about the dbus mailing list