TRPCBroker Component Tutorial Introduction
The major functions of a TRPCBroker component in a Delphi application are to:
-
Connect to an RPC Broker server system from a client.
-
Execute remote procedure calls (RPCs) on that system.
-
Return data results from RPC to the client.
This tutorial guides you through using a TRPCBroker component to perform each of these tasks, by having you create a Delphi application, step-by-step. This application will retrieve a list of terminal types from the server, and display information about each terminal type.
After you have completed this tutorial, you should be able to:
-
Include a TRPCBroker component in a Delphi application.
-
Retrieve the end-user workstation's designated server and port to connect to.
-
Establish a connection through the RPC Broker component to an RPC Broker server.
-
Create M routines that return data in the formats necessary to be called from RPCs.
-
Create RPCs.
-
Call RPCs from a Delphi application to retrieve data from VISTA database.
-
Pass parameters from your Delphi application to RPCs.