W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1999

Re: "Kill on shutdown" flag for CGI-Frame ?

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Fri, 23 Apr 1999 16:18:26 +0200
Message-ID: <37208132.8EE15292@sophia.inria.fr>
To: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
CC: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>
When your resource is going to be unloaded (not only when
the server shutdown), the method

public void notifyUnload();

of the resource is called and an event is sent, you can see how to catch this
event in org.w3c.jigedit.tools.ToolsListerFrame.

Regards, Benoit.

Roland Mainz wrote:

> Hi !
>
> ----
>
> I'm looking for a feature like "kill on server shutdown" for CGI-scripts
> and/or
> a timeout feature which "kills" the script after a given timeout.
>
> Possible implemenation:
> A Vector object containing all active "Process"-objects. On timeout or
> server shutdown,
> the Process object is killed (proc.destroy()).
>
> Possible new variables for CGI-Frame:
> - boolean "Kill on server shutdown"
> - "timeout" value (like those from Servlet...)
>
> ----
>
> jigsaw programmer question:
> How to detect a server shotdown from within a Frame ?
>
> ----
>
> Bye,
> Roland
>
> --
>   __ .  . __
>  (o.\ \/ /.o)  Roland Mainz                               C programmer
>   \__\/\/__/   Roland.Mainz@informatik.med.uni-giessen.de MPEG specialist
>   /O /==\ O\   gisburn@w-specht.rhein-ruhr.de             Sun&&Amiga programmer
>  (;O/ \/ \O;)  TEL +49 (0) 2426901568  FAX +49 (0) 2426901569

--
- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium   (W3C)
                    Architecture domain - Jigsaw Engineer

                http://www.w3.org/People/Mahe  - bmahe@w3.org
---------------------------------------------------------------------
Received on Friday, 23 April 1999 10:18:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT