Re: [openplacos-dev] Un vieux troll

[ Thread Index | Date Index | More lists.tuxfamily.org/openplacos-dev Archives ]


yop

je cite la spec dbus :

A method call message is required to have aMEMBERheader field indicating the name of the method.. Optionally, the message has anINTERFACEfield giving the interface the method is a part of. In the absence of anINTERFACEfield, if two interfaces on the same object have a method with the same name, it is undefined which of the two methods will be invoked. Implementations may also choose to return an error in this ambiguous case. However, if a method name is unique implementations must not require an interface field.

En gros ce n'est pas interdit d'avoir plusieur methodes avec le meme nom, du moment que le message dbus sp�fie l'interface (qui est optionelle)

A mon sens on ne viole aucune regle en fesant ca, mais on fait chier les biding qui creer des objet proxy au niveau des objet et pas des ifaces (comme le biding ruby)


Le 19 ao�11 22:36, flagos <flagospub@xxxxxxxxx> a �it :
Yop

Je viens de mettre a jour d-feet, et voila un joli message dans stdout

ERROR: Some clever service is trying to be cute and has the same method name in the same interface

hihi, on va aller troller sur la ML de d-feet !


--
Tap�epuis mon clavier



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/