(being phased out)
Applies to
TRPCBroker component
Declaration
property ConnectMode: enumerated;
Description
Enhancements to how the Broker manages multiple connections make this property unnecessary. Consequently, it is being phased out. For now it has been "demoted" from published to public declaration. This means that this property will no longer be visible in the Object Inspector, however, the application will still compile. At run-time it is ignored.
If your application uses more than one Broker component, you should be aware of the component's connect and disconnect behavior.
This property was used to set the mode that determines when your application connected to the server. It could be set to one of the following values:
AsNeeded: If the Broker component was not already connected to the server, this established a connection with the server when a call was made. This was the recommended setting. You can still manually connect the Broker component using the Connected property.
ManualConnect: Required the developer to manually connect to the server by setting the Connected property to True.
OnCreate: Connected to the server when the TRPCBroker component was created. This setting was ignored while in Delphi IDE.
The ConnectMode property that was made available with the RPC Broker Development Kit (BDK), released in October 1995, is now obsolete and slated for removal from the RPC Broker component (i.e., TRPCBroker).