Re: [Simpleweb-Support] How to shutdown th server
Brought to you by:
niallg
From: Niall G. <gal...@ya...> - 2006-04-10 12:29:35
|
Hi, Currently you only option is to add in your own signalling implementation. Something like public interface Receiver { public void handle(Signal signal); } And have the following objects receive events to stop the threads they use: PipelineProcessor Connection TimeCache So something like Signaler.send(new MyStopSignal()) can terminate the server. I have been meaning to implement this, just have not had the time. Niall --- R Pat <pat...@gm...> wrote: > Hello, > > Can somebody tell me how to shutdown a "simple" > server ? > Obviously I don't want to talk about killing the job > with a <CTRL>C. > > Thank you. > Niall Gallagher __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |