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]

Hub Client disconnecting from a Hub


  • Subject: Hub Client disconnecting from a Hub
  • From: Stuart Booth
  • Date: Mon, 01 Dec 2003 21:42:00 +0000

How about a formalised method for a HubClient to let its Hub know that
it is shutting down now?

My Hub code in xAPFramework fires an event when it detects a Hub
Client has disconnected, but it has no way of knowing if it's died or
if it was shut down by somebody. I'd quite like to be able to
determine which has happened if I can.

Sort of like a "Goodbye, I'm going" message:

xap-hbeat
{
v=12
hop=1
uid=FF077400
** class=xap-hbeat.stoped ** (or stopping)
source=KCSoft.SliMP3.server
interval=60
port=3647
pid=2320
}

See the **'ed line above. Was this ever considered in the past?

S
--
Stuart Booth <<a
href="/group/xAP_developer/post?postID=g05Rce7zeN0ze4Xyd_x2N-DZhhodJhRlJYHKMkaE2eOIkoTNC4DY3CiMV3cEAWcQmC_ZpPI09f_7YGd-Bg">stuart@x...</a>>
xAPFramework.net - a xAP software development framework for .net

<a href="http://www.xapautomation.org/";>http://www.xapautomation.org/</a>
<a href="http://www.xapframework.net/";>http://www.xapframework.net/</a>





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.