[hunchentoot-devel] How to capture the server instance

Rommel Martinez ebzzry at gmail.com
Thu Apr 24 07:05:44 UTC 2008


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>



More information about the Tbnl-devel mailing list