index Zimbu documentation

MODULE RPC @public

summary

     

Classes, Interfaces and methods for Remote Procedure Calls.

Still very much under development.

ENUM  State @public  The state used in the client to track the progress of an RPC call.
CLASS  Control @public  A Control object is passed with an RPC to store its status and be able to cancel it.
 
rpc(control, serviceName, request, done) status @public  Start an RPC.
 

members (alphabetically)

     

FUNC rpc(RPC.Control control, string serviceName, string request, proc<RPC.Control, string> done) status @public

     

Start an RPC.

The control object is used to keep the status and allows cancelling the RPC. It is passed to the done callback. When the RPC returns or is cancelled the done callback is invoked. The second argument of done is the returned message.

license

      Copyright 2009 Bram Moolenaar All Rights Reserved.

      Licensed under the Apache License, Version 2.0. See the LICENSE file or obtain a copy at: http://www.apache.org/licenses/LICENSE-2.0