[comp.windows.interviews] Idea about using RPC classes -- wanted

yufan@cs.keele.ac.uk (Yufan Hu) (04/28/91)

Hi,

Could somebody give me some ideas about how to use the RPC classes in
the Dispatch library to implement a server and serveral cliients. Just
from the manual pages I could not figure out the way these classes is used
(I appologize if this seems to be stupid). A simple example would be
preferred. My problem might be a typical RPC problem: start a server,
waiting for the clients to send their requests, and confirm the execution of
the requests.


Your help is very much appreciated.

-- Yufan

interran@lurch.Stanford.EDU (John Interrante) (04/29/91)

Since several people requested examples of programs using the new Rpc
classes that came with InterViews 3.0-beta, I decided to distribute
the very short programs I used to test the Rpc classes when I was
writing them.  Other than a discarded project several months ago, I
haven't yet written any more code using the Rpc classes so these
examples are all that I have.  Somebody else in our research group is
using the Rpc classes in a large project, but that project won't be
finished for several months.

The tests are in pub/contrib/rpctest.tar.Z on interviews.stanford.edu.
You'll have to make InterViews 3.0-beta with BuildRPCClasses YES in
local.def before you can run the tests.
--
John Interrante / interran@lurch.stanford.edu