The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: xPLHubs (again!)


  • Subject: Re: xPLHubs (again!)
  • From: "Mal Lansell" <mlansell@xxxxxxxxxxxxxx>
  • Date: Thu, 17 Mar 2005 01:48:05 -0000



--- In ukha_xpl@xxxxxxx, "Paul Robinson" <ukcueman@y...>
wrote:
> Why not save it only if it's different from what it was last time
(which you cache in
> memory)?
>

The actual clients may stay the same, but the file includes a date
stamp of when you last heard from them, so that changes each time
you receive a heartbeat.  If it wasn't for that, then your
suggestion would work just fine.

In fact, there's no reason to include a timestamp - it doesn't
really matter if you leave a client on the list for a few minutes
longer than necessary.  If the hub just assumed 2*interval as the
timeout when it started up (interval would do, but 2* allows for
missing one message), that would be OK.

Mal.







xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.