RPC HELP Tutorial Step 1

RPC Broker Help Home

Tutorial Home Tutorial: Step 1 -- RPC Broker Component The first step of this tutorial is to create a Delphi-based application that includes a TRPCBroker component. To do this: Your form should look like:
 * 1) In Delphi, create a new application. Delphi will create a blank form, named Form1.
 * 2) Set Form1's Caption property to Terminal Type Display.
 * 3) From the Kernel component palette tab, add a TRPCBroker component to your form. The instance of the component will automatically be named RPCBroker1. It should be renamed to brkrRPCBroker1.  (In general the name of the component can be any meaningful name that begins with "brkr" to indicate a TRPCBroker component.)
 * 4) Leave the default values for Server and ListenerPort as is (they are retrieved from your workstation's Registry). In the next section of the tutorial, you will add code to retrieve these values at run-time from the workstation's Registry.
 * 5) Set the ClearParameters and ClearResults properties to True if they are not set to True already. This ensures that each time a call to an RPC is made, the Results property is cleared beforehand, and the Param property is cleared afterwards.



The next tasks are to use the TRPCBroker component to retrieve the client workstation's RPC Broker server and port information (Step 2), and then to establish a connection through the TRPCBroker component to the VistA M Server (Step 3).

PREV: Advanced Preparation NEXT: Step 2: Get Server/Port