RPC HELP TRPCBroker Server

From VistApedia
Revision as of 20:07, 4 July 2015 by Kdtop (talk | contribs) (Created page with "<h2>Server Property</h2> Example <h3>Applies to</h3> TRPCBroker component <h3>Declaration</h3> property Server...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Server Property

Example

Applies to

   TRPCBroker component

Declaration

   property Server: String;

Description

The Server design-time property contains the name or Internet Protocol (IP) address of the VistA M Server system. If the name is used instead of the IP address, Microsoft Windows Winsock should be able to resolve it. Winsock can resolve a name to an IP address either through the Domain Name Service (DNS) or by looking it up in the HOSTS file on the client workstation. In the case where the same name exists in the DNS and in the Host File file, the HOSTS file entry takes precedence. Changing the name of the VistA M Server while the TRPCBroker component is connected disconnects the TRPCBroker component from the previous server.

You can use the Broker Programmer Preferences Editor (BrokerProgPref.EXE located under the ..\BDK32 directory) to set the default value for this property when you add a TRPCBroker component to your form.

For a demonstration, please run the BrokerProgPref.EXE located in the ..\BDK32 directory.