From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [PATCH 1/3] plugins: Implementation of Network Time plugin
Date: Tue, 07 Dec 2010 00:29:34 +0100 [thread overview]
Message-ID: <1291678174.4795.124.camel@aeonflux> (raw)
In-Reply-To: <201012061833.45629.remi.denis-courmont@nokia.com>
[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]
Hi Remi,
> > > The only thing I would change here are the names. It's customary to
> > > avoid repeating the interface name in the signal or method, but of
> > > course the problem here is then what to call these. Maybe just Get()
> > > and Changed()? ;-)
> > >
> > > Oh, and you probably should have included a short description of what
> > > this plugin is for (I forgot to mention this before).
> > >
> > > The thinking behind this plugin is that timed in MeeGo wants to get
> > > the information, and a D-Bus API is a fine way to accomplish this.
> >
> > where is this timed running? I prefer the plugin just send a D-Bus
> > message to the timed directly instead of a Get/Changed API kind of
> > thing.
>
> AFAIK, Get/Changed is the simplest functional way to avoid races, where say
> oFono would receive the time before timed can process it. The getter also
> enables implementing trivial a tool à la ntpdate.
then please answer my questions from my other email. If we receive the
time before timed (or any other time daemon) is running, who does ensure
the current timestamp of this received time and what it correlates to.
If no time daemon is running it is safer to just set this time as system
time right away and then let the time daemon adjust it later. But just
handing out a random time from a random time before is not helping. And
oFono is not suppose to track time and it corelation to it.
Regards
Marcel
next prev parent reply other threads:[~2010-12-06 23:29 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-03 9:47 [PATCH 1/3] plugins: Implementation of Network Time plugin Antti Paila
2010-12-03 9:47 ` [PATCH 2/3] plugins: Enabling nettime plugin in Makefile.am Antti Paila
2010-12-03 9:47 ` [PATCH 3/3] plugins: Test scripts for nettime plugin Antti Paila
2010-12-03 14:07 ` [PATCH 1/3] plugins: Implementation of Network Time plugin Aki Niemi
2010-12-04 0:02 ` Marcel Holtmann
2010-12-04 12:03 ` Aki Niemi
2010-12-05 12:40 ` Marcel Holtmann
2010-12-08 8:44 ` Marcel Holtmann
2010-12-08 9:19 ` Aki Niemi
2010-12-06 16:33 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2010-12-06 23:29 ` Marcel Holtmann [this message]
2010-12-06 23:56 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2010-12-07 8:58 ` Marcel Holtmann
2010-12-07 11:00 ` Antti Paila
2010-12-07 16:05 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2010-12-06 17:00 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2010-12-07 7:51 ` Aki Niemi
2010-12-07 9:12 ` Antti Paila
2010-12-07 16:12 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2010-12-08 8:13 ` Aki Niemi
2010-12-08 16:49 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
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=1291678174.4795.124.camel@aeonflux \
--to=marcel@holtmann.org \
--cc=ofono@ofono.org \
/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