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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 18 Apr 2024 07:01:57 GMT
|