chickadee » rpc » rpc:publish-procedure!

rpc:publish-procedure! name procedure #!optional (callback-outgoing? #t)procedure

Registers procedure to be callable by incoming RPC requests under the name name.

Names of procedures are matched using equal?.

If callback-outgoing? is true, a reverse lookup entry associating the procedure with its name is also created. The table of reverse lookup entries is used by rpc:procedure to send a callback stub to the remote machine instead of the procedure itself, should the procedure be one of the parameters of a RPC call.