Generic FunctionPackage: net.rpcToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version

rpc-get

Arguments: (self rpc-port) (m rpc-message) &key (error-p t)

This method is used with the message handle returned by rpc-invoke to extract the result of the remote call. If the state of the message is :rms-done, one or more values are returned, one for each value returned by the remote call.

If the state of the message is :rms-throw, then the effect depends on the thrown result and the error-p argument. If error-p is nil, three values are always returned: the tag argument of the throw, the value of the throw, and an unwind-protect flag. When the unwind-protect flag is non-nil, the first two values are nil; the remote call was terminated by a throw past the return to this caller.

If error-p is non-nil, and the tag is non-nil, then the throw is continued in the calling environment. Otherwise an error is signaled.

If the state of the message is :rms-error an error is signaled, unless the error-p argument is nil. If the error-p argument is nil, the value returned is usually a list where the first element is a keyword denoting the error and the second element is a string describing the remote error in more detail.

See also rpc.htm for general information on the Remote Procedure Call utility in Allegro CL.


Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version