<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://vistapedia.com/index.php?action=history&amp;feed=atom&amp;title=RPC_HELP_TSharedRPCBroker</id>
	<title>RPC HELP TSharedRPCBroker - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://vistapedia.com/index.php?action=history&amp;feed=atom&amp;title=RPC_HELP_TSharedRPCBroker"/>
	<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=RPC_HELP_TSharedRPCBroker&amp;action=history"/>
	<updated>2026-05-01T16:45:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://vistapedia.com/index.php?title=RPC_HELP_TSharedRPCBroker&amp;diff=16926&amp;oldid=prev</id>
		<title>Kdtop at 17:32, 8 July 2015</title>
		<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=RPC_HELP_TSharedRPCBroker&amp;diff=16926&amp;oldid=prev"/>
		<updated>2015-07-08T17:32:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:32, 8 July 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The TSharedRPCBroker component is derived from the existing [[RPC_HELP_TRPCBroker|TRPCBroker]] component. The TSharedRPCBroker component provides applications or plug-ins to applications easy access to an RPCBroker without the need for a separate M partition. Each component has its own security (i.e., option) as well. The default value of the [[RPC_HELP_TSharedRPCBroker_AllowShared_Property|AllowShared]] is True. If an application will have RPCs that require extensive time, it would be best to NOT share a Broker instance and the [[RPC_HELP_TSharedRPCBroker_AllowShared_Property|AllowShared]] should then be set to False.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The TSharedRPCBroker component is derived from the existing [[RPC_HELP_TRPCBroker|TRPCBroker]] component. The TSharedRPCBroker component provides applications or plug-ins to applications easy access to an RPCBroker without the need for a separate M partition. Each component has its own security (i.e., option) as well. The default value of the [[RPC_HELP_TSharedRPCBroker_AllowShared_Property|AllowShared]] is True. If an application will have RPCs that require extensive time, it would be best to NOT share a Broker instance and the [[RPC_HELP_TSharedRPCBroker_AllowShared_Property|AllowShared]] should then be set to False.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For its functionality, the TSharedRPCBroker component uses the RPCSharedBrokerSessionMgr.EXE, which is an out of process Common Object Module (COM) component. This executable handles the actual Broker connections and communication, permitting multiple applications to use a single connection and partition to the VistA M Server. However, it also handles connections of different applications to different Server/Port combinations and can handle multiple connections to a specific Server/Port combination, if an application sets [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;RPC_HELP_AllowShared&lt;/del&gt;|AllowShared]] to False.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For its functionality, the TSharedRPCBroker component uses the RPCSharedBrokerSessionMgr.EXE, which is an out of process Common Object Module (COM) component. This executable handles the actual Broker connections and communication, permitting multiple applications to use a single connection and partition to the VistA M Server. However, it also handles connections of different applications to different Server/Port combinations and can handle multiple connections to a specific Server/Port combination, if an application sets [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;RPC_HELP_TSharedRPCBroker_AllowShared_Property&lt;/ins&gt;|AllowShared]] to False.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Like the [[RPC_HELP_TRPCBroker|TRPCBroker]], the TSharedRPCBroker component and RPCSharedBrokerSessionMgr executable provide VistA application developers with all of the client/server-related functionality in one integrated component. Using the TSharedRPCBroker component, an application can connect to the VistA M Server by simply setting the [[RPC_HELP_TRPCBroker_Connected|Connected]] property to True. Remote procedures on the server can be executed by preparing the [[RPC_HELP_TRPCBroker_Param|Param]] and [[RPC_HELP_TRPCBroker_RemoteProcedure|RemoteProcedure]] properties and invoking either the [[RPC_HELP_TRPCBroker_Call_Method_Example|Example]], [[RPC_HELP_TRPCBroker_strCall_Method_Example|Example]] or [[RPC_HELP_TRPCBroker_lstCall_Method_Example|Example]] methods.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Like the [[RPC_HELP_TRPCBroker|TRPCBroker]], the TSharedRPCBroker component and RPCSharedBrokerSessionMgr executable provide VistA application developers with all of the client/server-related functionality in one integrated component. Using the TSharedRPCBroker component, an application can connect to the VistA M Server by simply setting the [[RPC_HELP_TRPCBroker_Connected|Connected]] property to True. Remote procedures on the server can be executed by preparing the [[RPC_HELP_TRPCBroker_Param|Param]] and [[RPC_HELP_TRPCBroker_RemoteProcedure|RemoteProcedure]] properties and invoking either the [[RPC_HELP_TRPCBroker_Call_Method_Example|Example]], [[RPC_HELP_TRPCBroker_strCall_Method_Example|Example]] or [[RPC_HELP_TRPCBroker_lstCall_Method_Example|Example]] methods.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kdtop</name></author>
	</entry>
	<entry>
		<id>https://vistapedia.com/index.php?title=RPC_HELP_TSharedRPCBroker&amp;diff=16925&amp;oldid=prev</id>
		<title>Kdtop at 17:31, 8 July 2015</title>
		<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=RPC_HELP_TSharedRPCBroker&amp;diff=16925&amp;oldid=prev"/>
		<updated>2015-07-08T17:31:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:31, 8 July 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[RPC_HELP_TSharedRPCBroker_Example|Example]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[RPC_HELP_TSharedRPCBroker_Example|Example]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h3&amp;gt;Parent Class&amp;lt;h3&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h3&amp;gt;Parent Class&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/&lt;/ins&gt;h3&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     TSharedRPCBroker = class(TComponent)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     TSharedRPCBroker = class(TComponent)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kdtop</name></author>
	</entry>
	<entry>
		<id>https://vistapedia.com/index.php?title=RPC_HELP_TSharedRPCBroker&amp;diff=16920&amp;oldid=prev</id>
		<title>Kdtop at 17:24, 8 July 2015</title>
		<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=RPC_HELP_TSharedRPCBroker&amp;diff=16920&amp;oldid=prev"/>
		<updated>2015-07-08T17:24:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:24, 8 July 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h3&amp;gt;Description&amp;lt;/h3&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h3&amp;gt;Description&amp;lt;/h3&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The TSharedRPCBroker component is derived from the existing [[RPC_HELP_TRPCBroker|TRPCBroker]] component. The TSharedRPCBroker component provides applications or plug-ins to applications easy access to an RPCBroker without the need for a separate M partition. Each component has its own security (i.e., option) as well. The default value of the [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;RPC_HELP_AllowShared&lt;/del&gt;|AllowShared]] is True. If an application will have RPCs that require extensive time, it would be best to NOT share a Broker instance and the [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;RPC_HELP_AllowShared&lt;/del&gt;|AllowShared]] should then be set to False.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The TSharedRPCBroker component is derived from the existing [[RPC_HELP_TRPCBroker|TRPCBroker]] component. The TSharedRPCBroker component provides applications or plug-ins to applications easy access to an RPCBroker without the need for a separate M partition. Each component has its own security (i.e., option) as well. The default value of the [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;RPC_HELP_TSharedRPCBroker_AllowShared_Property&lt;/ins&gt;|AllowShared]] is True. If an application will have RPCs that require extensive time, it would be best to NOT share a Broker instance and the [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;RPC_HELP_TSharedRPCBroker_AllowShared_Property&lt;/ins&gt;|AllowShared]] should then be set to False.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For its functionality, the TSharedRPCBroker component uses the RPCSharedBrokerSessionMgr.EXE, which is an out of process Common Object Module (COM) component. This executable handles the actual Broker connections and communication, permitting multiple applications to use a single connection and partition to the VistA M Server. However, it also handles connections of different applications to different Server/Port combinations and can handle multiple connections to a specific Server/Port combination, if an application sets [[RPC_HELP_AllowShared|AllowShared]] to False.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For its functionality, the TSharedRPCBroker component uses the RPCSharedBrokerSessionMgr.EXE, which is an out of process Common Object Module (COM) component. This executable handles the actual Broker connections and communication, permitting multiple applications to use a single connection and partition to the VistA M Server. However, it also handles connections of different applications to different Server/Port combinations and can handle multiple connections to a specific Server/Port combination, if an application sets [[RPC_HELP_AllowShared|AllowShared]] to False.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kdtop</name></author>
	</entry>
	<entry>
		<id>https://vistapedia.com/index.php?title=RPC_HELP_TSharedRPCBroker&amp;diff=16918&amp;oldid=prev</id>
		<title>Kdtop: Created page with &quot; RPC Broker Help Home &lt;h2&gt;TSharedRPCBroker Component&lt;/h2&gt; Properties  [[RPC_HELP_TSharedRPCBroker_Example|Example]...&quot;</title>
		<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=RPC_HELP_TSharedRPCBroker&amp;diff=16918&amp;oldid=prev"/>
		<updated>2015-07-08T17:13:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php/RPC_Broker_Help&quot; title=&quot;RPC Broker Help&quot;&gt; RPC Broker Help Home&lt;/a&gt; &amp;lt;h2&amp;gt;TSharedRPCBroker Component&amp;lt;/h2&amp;gt; &lt;a href=&quot;/index.php/RPC_HELP_TSharedRPCBroker_Properties&quot; title=&quot;RPC HELP TSharedRPCBroker Properties&quot;&gt;Properties&lt;/a&gt;  [[RPC_HELP_TSharedRPCBroker_Example|Example]...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[RPC_Broker_Help| RPC Broker Help Home]]&lt;br /&gt;
&amp;lt;h2&amp;gt;TSharedRPCBroker Component&amp;lt;/h2&amp;gt;&lt;br /&gt;
[[RPC_HELP_TSharedRPCBroker_Properties|Properties]]&lt;br /&gt;
&lt;br /&gt;
[[RPC_HELP_TSharedRPCBroker_Example|Example]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Parent Class&amp;lt;h3&amp;gt;&lt;br /&gt;
    TSharedRPCBroker = class(TComponent)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Unit&amp;lt;/h3&amp;gt;&lt;br /&gt;
  [[RPC_HELP_TRPCB_Unit|TRPCB Unit]]&lt;br /&gt;
	&lt;br /&gt;
&amp;lt;h3&amp;gt;Description&amp;lt;/h3&amp;gt;&lt;br /&gt;
The TSharedRPCBroker component is derived from the existing [[RPC_HELP_TRPCBroker|TRPCBroker]] component. The TSharedRPCBroker component provides applications or plug-ins to applications easy access to an RPCBroker without the need for a separate M partition. Each component has its own security (i.e., option) as well. The default value of the [[RPC_HELP_AllowShared|AllowShared]] is True. If an application will have RPCs that require extensive time, it would be best to NOT share a Broker instance and the [[RPC_HELP_AllowShared|AllowShared]] should then be set to False.&lt;br /&gt;
	&lt;br /&gt;
For its functionality, the TSharedRPCBroker component uses the RPCSharedBrokerSessionMgr.EXE, which is an out of process Common Object Module (COM) component. This executable handles the actual Broker connections and communication, permitting multiple applications to use a single connection and partition to the VistA M Server. However, it also handles connections of different applications to different Server/Port combinations and can handle multiple connections to a specific Server/Port combination, if an application sets [[RPC_HELP_AllowShared|AllowShared]] to False.&lt;br /&gt;
	&lt;br /&gt;
Like the [[RPC_HELP_TRPCBroker|TRPCBroker]], the TSharedRPCBroker component and RPCSharedBrokerSessionMgr executable provide VistA application developers with all of the client/server-related functionality in one integrated component. Using the TSharedRPCBroker component, an application can connect to the VistA M Server by simply setting the [[RPC_HELP_TRPCBroker_Connected|Connected]] property to True. Remote procedures on the server can be executed by preparing the [[RPC_HELP_TRPCBroker_Param|Param]] and [[RPC_HELP_TRPCBroker_RemoteProcedure|RemoteProcedure]] properties and invoking either the [[RPC_HELP_TRPCBroker_Call_Method_Example|Example]], [[RPC_HELP_TRPCBroker_strCall_Method_Example|Example]] or [[RPC_HELP_TRPCBroker_lstCall_Method_Example|Example]] methods.&lt;br /&gt;
	&lt;br /&gt;
&amp;lt;h3&amp;gt;Using the TSharedRPCBroker Component&amp;lt;/h3&amp;gt;&lt;br /&gt;
To use the TSharedRPCBroker component in place of the TRPCBroker component with an existing application, do the following:&lt;br /&gt;
# Open the application.&lt;br /&gt;
# Notate the current name assigned to the TRPCBroker component.&lt;br /&gt;
# Remove the TRPCBroker component.&lt;br /&gt;
# Add the TSharedRPCBroker component and give it the same name that was used for the TRPCBroker component (see Step #2).&lt;br /&gt;
# If you do not have any other components (e.g., FileMan Delphi Components) that reference the original TRPCBroker component (see Step #2), simply recompile and run the application. Otherwise, proceed to Step #6.&lt;br /&gt;
# If you have components (e.g., FMLister, FMGets, etc.) that reference the original TRPCBroker component, do the following:&lt;br /&gt;
#* Click on the component(s).&lt;br /&gt;
#* Select the new TSharedRPCBroker component at the TRPCBroker reference for this component in the object inspector. The assignment isn&amp;#039;t by name but to the actual component instance or location in memory at the time, and this has to be reset.&lt;br /&gt;
#* Repeat Steps #6a-6b for each additional component&lt;br /&gt;
#* Recompile and run the application.&lt;br /&gt;
	&lt;br /&gt;
NOTE: Application developers must remember to include the RPCSharedBrokerSessionMGR.EXE when building their applications.&lt;br /&gt;
	&lt;br /&gt;
When the first application connects, you will see an instance of the RPCSharedBrokerSessionMgr appear in the taskbar. All Broker connections via the TSharedRPCBroker component are routed through this executable.&lt;br /&gt;
&lt;br /&gt;
NOTE: For help on inherited properties, please see the parent component (i.e., [[RPC_HELP_TRPCBroker|TRPCBroker]]).&lt;/div&gt;</summary>
		<author><name>Kdtop</name></author>
	</entry>
</feed>