<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>PB - detecting loss of connection</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I've been experimenting with PB. I have two applications developed from examples pb3server.py and pb3client.py</FONT>
</P>

<P><FONT SIZE=2>The client uses pb.getObjectAt() to get a reference to the server's pb.Root derived object. It then calls a remote method on that object to send a pb.Referenceable object to the server.</FONT></P>

<P><FONT SIZE=2>The idea is that the server can then call a method on the pb.Referenceable object to notify the client(s) whenever a significant change of state occurs. This works OK.</FONT></P>

<P><FONT SIZE=2>If the client terminates, the server can trap pb.DeadReferenceError, so that is not a problem.</FONT>
</P>

<P><FONT SIZE=2>However, if the server terminates (e.g. by SIGKILL) the client is not aware that it will not receive any more updates.</FONT>
</P>

<P><FONT SIZE=2>Apart from periodically calling pb.getObjectAt() to see if the server is still running, is there a way that the client can automatically detect if the server has been terminated?</FONT></P>

<P><FONT SIZE=2>thanks for your help</FONT>
<BR><FONT SIZE=2>&nbsp;-Richard</FONT>
</P>

</BODY>
</HTML>