|
Smalltalk/X WebserverDocumentation of class 'SunRPC::DemoClient': |
|
|
Class: DemoClient (in SunRPC)Inheritance:Object | +--SunRPC::RPCEndPoint | +--SunRPC::RPCClient | +--SunRPC::DemoClient
Description:
a simple rpc-demo client;
supports a few simple procedures:
showOnTranscript - display a message on a remote transcript
showMultipleOnTranscript - display a collection of strings on a remote transcript
showPerson - example for a structured type object being passed
and shown on a remote transcript
first, start the demoServer (on any machine) with:
SunRPC::DemoServer start
then, connect to it, and execute a remote procedure call:
|hostName client message reply|
message := 'hello world'.
hostName := Dialog request:'Host ?' initialAnswer:'localhost'.
client := SunRPC::DemoClient new host:hostName.
client showOnTranscript:message.
client close.
Class protocol:specInstance protocol:operations
|
|
|
ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 17 Dec 2025 10:03:53 GMT
|