Hi Leshek,

When you stop the parent Component, it stops all the child connectors. 
Otherwise, you can stop each connector individually using the
stop() method. It should stop listening.

If you want to do that from an Application, you have to explicitly/manually 
pass it a reference to the parent Component so it can
call stop() on it when necessary.

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
 

-----Message d'origine-----
De : news [mailto:n...@ger.gmane.org] De la part de Leshek Fiedorowicz
Envoye : mercredi 14 janvier 2009 06:35
A : discuss@restlet.tigris.org
Objet : Re: Command line to STOP Restlet server

All good, helpful hints, but... by Restlet designed (the best practice?) way 
to stop Restlet internal HTTP server?

Leshek
Ps. I have re-registered with tigris, thank you Jerome!

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1023582

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1024607

Reply via email to