RPC HELP Tutorial Introduction

From VistApedia
Jump to: navigation, search

RPC Broker Help Home

Tutorial Home

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