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: Heartbeat stopped messages


  • Subject: Re: Heartbeat stopped messages
  • From: mcs101main@xxxxxxx
  • Date: Mon, 14 Jun 2004 21:45:23 +0000

--NextPart_Webmail_9m3u9jl4l_3016_1087249523_0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

I agree with the alive/stopped heartbeat.

Sometime in the future I propose that values other than black & white
be available in support of a generalized health managment approach.  For
example, built-in-test infomation such as the connection to the RR was
pulled from the PC but the RR connector is still running.

-------------- Original message from Stuart Booth : -------------- Yonks
ago I suggested adding a "xap-hbeat.stopped" class to partner
"xap-hbeat.alive" messages, but used when the application is
closing
down normally. For example:

xap-hbeat
{
v=12
hop=1
uid=FF102000
class=xap-hbeat.stopped
source=KCSoft.RedRat.anya
interval=60
port=52000
pid=3460
}

I believe James is doing similar now too. Do we think this should be
added to the xAP spec as it is not currently included there??

Viewer and Hub(GUI) are both designed to make use of this particular
message in their own ways. I don't know what other uses it serves, but
it is a neat way of signalling a clean termination of an application
rather than a crash (h/b's stop and are detected after 2 h/b
intervals):
a) Viewer greys out the tree branch immediately to indicate it is no
longer alive.
b) Hub unregisters the client immediately rather than timing it out.
c) xFx no longer generates a misleading xAPp not responding event as
it can distinguish between the two events.

(Currently testing the xAP RedRat Connector as a Windows Service. Small wee
problemette now fixed following a tip from Chris).

S
--
Stuart Booth <stuart@xxxxxxx>
xAPFramework.NET - a xAP software development framework for .NET

http://www.xapautomation.org/ 
     http://www.xapframework.net/


xAP_Development Main Index | xAP_Development Thread Index | xAP_Development 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.