Difference between revisions of "Midware TRequestBroker"

From Overbyte
Jump to navigation Jump to search
(Created page with '== Properties == {| | width="140" valign="top" | DisplayMemo |||| TRequestbroker component use DisplayMemo property to display informati…')
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Midware | Main page]] -> [[Midware_Components_Reference | Midware component reference]] -> [[Midware_TRequestBroker | TRequestBroker]]
 +
 +
== Overview ==
 +
{|
 +
| '''unit'''
 +
|}
 +
 
== Properties ==
 
== Properties ==
 
{|  
 
{|  
 
| width="140" valign="top" | [[Midware_TRequestBroker.DisplayMemo | DisplayMemo]] |||| TRequestbroker component use DisplayMemo property to display informative messages.
 
| width="140" valign="top" | [[Midware_TRequestBroker.DisplayMemo | DisplayMemo]] |||| TRequestbroker component use DisplayMemo property to display informative messages.
 
|-
 
|-
| valign="top" | [[Midware_ToRequestBroker.IniFileNama | IniFileName]] |||| Used to pass an INI file name to TServerObject.  
+
| valign="top" | [[Midware_ToRequestBroker.IniFileName | IniFileName]] |||| Used to pass an INI file name to [[Midware_TServerObject | TServerObject]].  
 
|-
 
|-
 +
| valign="top" | [[Midware_ToRequestBroker.UserData | UserData]] |||| UserData is not used by the request broker nor the application server component [[Midware_TAppServer | TAppServer]].
 +
|-
 +
| valign="top" | [[Midware_ToRequestBroker.ObjectCount | ObjectCount]] |||| Readonly property. 
 +
|-
 +
| valign="top" | [[Midware_ToRequestBroker.ObjectCountLabel | ObjectCountLabel]] |||| TRequestbroker component use ObjectCountLabel property to display ObjectCount property value.
 +
|-
 +
| valign="top" | [[Midware_ToRequestOptions.Options | Options]] |||| 
 +
|}
 +
 +
== Methods ==
 +
 +
{|
 +
| width="140" valign="top" | [[Midware_TRequestBroker.AddServerObject | AddServerObject]] |||| AddServerObject should be called from the main application server code, at startup to build the request broker object table.
 +
|-
 +
| valign="top" | [[Midware_TRequestBroker.AddServerObjectWithReference | AddServerObjectWithReference]] |||| AddServerObjectWithReference does the same job as AddServerObject and also initialize the reference in added [[Midware_TServerObject | TServerObject]] to make TServerObject.CopyFromReference works correctly.
 +
|-
 +
| valign="top" | [[Midware_TRequestBroker.BrokeRequest | BrokeRequest]] |||| BrokeRequest is the ORB main method.
 +
|-
 +
| valign="top" | [[Midware_TRequestBroker.EnumServerFunction | EnumServerFunction]] ||||This method is used to enumerate all server functions.
 +
|}
 +
 +
== Events ==
 +
 +
{|
 +
| width="140" valign="top" | [[Midware_TRequestBroker.OnDisplay | OnDisplay]] ||||Occurs when the component need to display something on the user interface such as error or informatinal messages.
 +
|-
 +
| valign="top" | [[Midware_TRequestBroker.OnObjCreate | OnObjCreate]] |||| OnObjCreate can be used to update the user interface or to log server activity into a log file.
 +
|-
 +
| valign="top" | [[Midware_TRequestBroker.OnObjDestroy | OnObjDestroy]] ||||
 +
|}
 +
 +
== How To ==
 +
 +
{{Midware_Components_Footer}}

Latest revision as of 15:42, 24 May 2011

Main page -> Midware component reference -> TRequestBroker

Overview

unit

Properties

DisplayMemo TRequestbroker component use DisplayMemo property to display informative messages.
IniFileName Used to pass an INI file name to TServerObject.
UserData UserData is not used by the request broker nor the application server component TAppServer.
ObjectCount Readonly property.
ObjectCountLabel TRequestbroker component use ObjectCountLabel property to display ObjectCount property value.
Options

Methods

AddServerObject AddServerObject should be called from the main application server code, at startup to build the request broker object table.
AddServerObjectWithReference AddServerObjectWithReference does the same job as AddServerObject and also initialize the reference in added TServerObject to make TServerObject.CopyFromReference works correctly.
BrokeRequest BrokeRequest is the ORB main method.
EnumServerFunction This method is used to enumerate all server functions.

Events

OnDisplay Occurs when the component need to display something on the user interface such as error or informatinal messages.
OnObjCreate OnObjCreate can be used to update the user interface or to log server activity into a log file.
OnObjDestroy

How To


Midware Components Reference