Difference between revisions of "RPC HELP Tutorial Introduction"

From VistApedia
Jump to: navigation, search
(Created page with "<h2>Tutorial: Introduction</h2> The major functions of a TRPCBroker component in a Delphi-based application are to: * Connect to an RPC Broker VistA M ...")
 
Line 15: Line 15:
 
* Call RPCs from a Delphi-based application to retrieve data from a VistA M database.
 
* Call RPCs from a Delphi-based application to retrieve data from a VistA M database.
 
* Pass parameters from your Delphi-based application to RPCs.
 
* Pass parameters from your Delphi-based application to RPCs.
 +
 +
<h4>[[RPC_HELP_Tutorial_Advanced_Preparation|NEXT: Advanced Preparation]]</h4>

Revision as of 16:46, 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.

NEXT: Advanced Preparation