Difference between revisions of "Midware TRequestBroker"
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
| valign="top" | [[Midware_TRequestBroker.OnObjDestroy | OnObjDestroy]] |||| | | valign="top" | [[Midware_TRequestBroker.OnObjDestroy | OnObjDestroy]] |||| | ||
|} | |} | ||
+ | |||
+ | == How To == | ||
+ | |||
+ | {{Midware_Components_Footer}} |
Revision as of 09:48, 7 May 2011
Main page -> Midware component reference -> TRequestBroker
Contents
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. | |
AddServerObjectWithReference | 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 |