Difference between revisions of "Midware TRequestBroker"

From Overbyte
Jump to navigation Jump to search
Line 19: Line 19:
 
|-
 
|-
 
| valign="top" | [[Midware_ToRequestOptions.Options | Options]] ||||   
 
| 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 TServerObject to make TServerObject.CopyFromReference works correctly.
 
|-
 
|-
|}
 

Revision as of 09:36, 7 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.