linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@nokia.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] [PATCH] Variable arguments to Inquiry and PeriodicInquiry D-BUS methods
Date: Tue, 8 Nov 2005 19:31:52 +0200	[thread overview]
Message-ID: <20051108173152.GA10590@localhost.localdomain> (raw)
In-Reply-To: <e1effdeb0511080817j48cec525r8ba84a66fc6aaaf1@mail.gmail.com>

On Tue, Nov 08, 2005, Claudio Takahasi wrote:
> HAL implements 5 different methods to set device properties.
> void SetProperty(string key, any value)
> void SetPropertyString(string key, string value)
> void SetPropertyInteger(string key, int32 value)
> void SetPropertyBoolean(string key, bool value)
> void SetPropertyDouble(string key, double value)
> 
> We don't need use this approach because we are extracting/comparing
> the message signature before call the function responsible to execute
> the task. Our design of having the same method name with differents
> signatures is fine! Regarding the name, it's better use the same
> method name "SetProperty" or only "Set" for both(device configuration
> and Controller).

I think it's a matter of what the interface name is. If the interface is
"org.bluez.Device", then "SetProperty" describes the method better than
"Set". If the interface is "org.bluez.Defaults" then just "Set" would
probably be enough.

Johan


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2005-11-08 17:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-08 13:43 [Bluez-devel] [PATCH] Variable arguments to Inquiry and PeriodicInquiry D-BUS methods Johan Hedberg
2005-11-08 13:54 ` Marcel Holtmann
2005-11-08 14:30   ` Johan Hedberg
2005-11-08 14:45     ` Claudio Takahasi
2005-11-08 15:03       ` Marcel Holtmann
2005-11-08 16:17         ` Claudio Takahasi
2005-11-08 17:31           ` Johan Hedberg [this message]
2005-11-08 14:59     ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051108173152.GA10590@localhost.localdomain \
    --to=johan.hedberg@nokia.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).