| Allegro CL version 6.1 Unrevised | |||||||||
Arguments: &key process-function end-function init-args max-servers total-timeout stop
This function starts a process that continuously restarts the Lisp jLinker server so that one is (almost) always available for a Java connection.
The process-function argument is a function of
one argument. It is called when jlinker-init returns after a new
server creation. The argument is the value returned by jlinker-init. If this
function returns nil, the jlinker-listen process exits and
no more servers will be created.
The stop argument is t to stop advertising after the next connection is made. A value of :stop stops advertising immediately but leaves active connections running. A value of :all stops advertising immediately and forces all the active connections to be killed.
The end-function is called with two arguments when the listener process exits for any reason. The first argument is a reason keyword and the second is a list of currently active connections.
The init-args argument is a list of keyword-value
pairs passed in a call to (jlinker-init :lisp-advertises
...).
The max-servers argument is the maximum number of simultaneous active server connections. When this number is reached, the advertised socket is disabled until one or more servers terminate.
The total-timeout argument may be a number of seconds for how long the advertised connection is made available.
See jlinker.htm for more information on the jLinker facility.
Copyright (c) 1998-2001, Franz Inc. Berkeley, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.1 update # 1. This page was not revised.
Created 2001.12.15.
| Allegro CL version 6.1 Unrevised | |||||||||