[hunchentoot-devel] How to capture the server instance

Stas Boukarev stassats at gmail.com
Thu Apr 24 09:06:09 UTC 2008


CL binds previous three returned values in the REPL to *, **, and ***
respectivly.

2008/4/24, Rommel Martinez <ebzzry at gmail.com>:
> Is there a way to "capture" the server instance of Hunchentoot
> when I start the server like the following (yes I haven't bound it
> to a variable using say DEFVAR or DEFPARAMETER):
>
>     CL-USER> (hunchentoot:start-server :port 9000)
>     #<HUNCHENTOOT::SERVER {61917E79}>
>
> So that I can do something like the following when I want to
> stop the server:
>
>     CL-USER> (hunchentoot:stop-server *foo*)
>
> --
> Rommel M. Martinez <ebzzry at gmail.com>
> _______________________________________________
> tbnl-devel site list
> tbnl-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>


-- 
With Best Regards, Stas.



More information about the Tbnl-devel mailing list