[vtkusers] vtkWeb - callback when the client disconnects (on reload)

Sebastien Jourdain sebastien.jourdain at kitware.com
Thu Oct 6 13:41:22 EDT 2016


Don't you have one process per client? If so, the server should shutdown
automatically, unless the client notified the server that he was leaving
for good in which case the server should stop almost immediately.



On Thu, Oct 6, 2016 at 11:37 AM, Dan Lipsa <dan.lipsa at kitware.com> wrote:

> Hi Seb and all,
>
> Is there a callback I can provide on the server that will be called when
> the client disconnects?
> I need to close all windows opened by a client.
>
> Related to this, is there an ID assigned to a client that I can use to
> associate open windows with certain clients? This way, I can only close
> windows only for a client that disconnected.
>
> Thanks,
> Dan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161006/7845c192/attachment.html>


More information about the vtkusers mailing list