Difference between revisions of "RPC HELP Tutorial Introduction"
From VistApedia
Line 1: | Line 1: | ||
+ | [[RPC_Broker_Help| RPC Broker Help Home]] | ||
+ | |||
+ | [[RPC_Broker_Help#Tutorial|Tutorial Home]] | ||
<h2>Tutorial: Introduction</h2> | <h2>Tutorial: Introduction</h2> | ||
The major functions of a [[RPC_HELP_TRPCBroker|TRPCBroker]] component in a Delphi-based application are to: | The major functions of a [[RPC_HELP_TRPCBroker|TRPCBroker]] component in a Delphi-based application are to: |
Latest revision as of 20:45, 5 July 2015
Tutorial: Introduction
The major functions of a TRPCBroker component in a Delphi-based application are to:
- Connect to an RPC Broker VistA M 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-based application, step-by-step. This application will retrieve a list of terminal types from the VistA M 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-based application.
- Retrieve the end-user client workstation's designated VistA M Server and port to connect to.
- Establish a connection through the RPC Broker component to an RPC Broker VistA M Server.
- Create M routines that return data in the formats necessary to be called from RPCs.
- Create RPCs.
- Call RPCs from a Delphi-based application to retrieve data from a VistA M database.
- Pass parameters from your Delphi-based application to RPCs.