Function | Package: net.rpc | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## def-remote-method

Arguments: name [mod] lambda-list &key port result mode destination close final

This macro is like def-remote-function but defines a method instead. The lambda list may be a method lambda list with specializers. In addition, a keyword in the lambda list is treated like a :type keyword to rref. A list always denotes a specialized argument, but any items beyond the second element are treated as keyword arguments to rref. The keyword arguments are the same as those for def-remote-function.

    (def-remote-method
        bar :before ((x local-class) (y t :ref-only) :copy-only))

This call defines a :before method with three arguments. The first is specialized on local-class and is passed by default rules. The second argument is unspecialized and is passed by reference only. The third argument is unspecialized and is passed only by value.

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

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version