| Allegro CL version 6.2 Unrevised from 6.1 |
Arguments: (port rpc-socket-server) &key flush abort all stop final wait
If stop is non-nil
, then
stop advertising; a call to rpc-open-listener will re-activate the
advertising. If stop is :final, discard the
server entirely; after such a call, the server cannot be
re-started. If all is non-nil
, call rpc-close for any ports derived from the
server. The flush, abort and
final arguments are passed down to each port
call.
If the wait argument is true, the call to rpc-close should not return until
the close operation is completed. Note that with a slow connection
even when rpc-close
returns, the remote host may still be in the process of closing
down. If the wait argument is nil
, the call returns while the closing takes
place. The port is finally closed when a call to rpc-open-p returns one of the keywords
:idle
or :closed
.
Arguments: (port rpc-port) &key flush abort all stop final wait
Close an rpc-port. If abort is non-nil
, shut down the port without attempting any
further communication.
If flush is non-nil
,
cancel any unsent messages.
If abort and flush are nil
, close the port by sending a disconnect message
after all pending messages are sent. When the disconnect message is
acknowledged, close the port.
If the re-connect option of the port is non-nil
, the port may be re-connected later, but if the
option is nil
or if
final is non-nil
, the
port is closed with no more connections allowed.
If stop is non-nil
, call
rpc-close on the
server from which the port was derived.
If all is non-nil
, call
rpc-close for all
ports derived from the same server as this one.
As with the method on rpc-socket-server
, if the
wait argument is true, the call to rpc-close should not return until
the close operation is completed. Note that with a slow connection
even when rpc-close
returns, the remote host may still be in the process of closing
down. If the wait argument is nil
, the call returns while the closing takes
place. The port is finally closed when a call to rpc-open-p returns one of the keywords
:idle
or :closed
.
Arguments: (port rpc-datagram-server) &key flush abort all stop final wait
When called with the stop argument non-nil, this method stops the listener. Otherwise, this method has no effect.
Arguments: (port rpc-datagram-port) &key flush abort all stop final wait
Since a datagram port is closed after each RPC message, this method is effectively a noop.
Arguments: (port (eql :all)) &key flush abort all stop final wait
Call rpc-close for all
known servers. The keyword arguments are passed down in each call. The
wait argument, when non-nil, specifies that the
call to rpc-close should
not return until the close operation is completed. Note that with a
slow connection even when rpc-close returns, the remote host may
still be in the process of closing down. If the wait argument is nil,
the call returns while the closing takes place. The port is finally
closed when a call to rpc-open-p returns one of the keywords
:idle
or :closed
.
Arguments: (port (eql :reset)) &key flush abort all stop final wait
This closes all RPC activity in a Lisp image. It is equivalent to
(rpc-close :all :flush t :abort t :all t :stop t :final t :wait t).
See also rpc.htm for general information on the Remote Procedure Call utility in Allegro CL.
Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.
| Allegro CL version 6.2 Unrevised from 6.1 |