Difference between revisions of "Midware TRequestBroker.AddServerObject"
Jump to navigation
Jump to search
(Created page with ' Main page -> Midware component reference -> TRequestBroker -> [[Midware_TRequestBroker.AddServerObje…') |
|||
Line 3: | Line 3: | ||
== Definition == | == Definition == | ||
− | ''' | + | '''procedure''' AddServerObject(ServerObjectClass:TServerObjectClass); |
== Description == | == Description == |
Latest revision as of 14:52, 7 May 2011
Main page -> Midware component reference -> TRequestBroker -> AddServerObject
Definition
procedure AddServerObject(ServerObjectClass:TServerObjectClass);
Description
AddServerObject should be called from the main application server code, at startup to build the request broker object table. This table associates objects and request. Each TServerObject has a FunctionCode (which default to the server object name without the leading TServerObject). Note hat the argument for AddServerObject is an object class, not an object instance.
AddServerObject must not be called when TServerObject are dropped on the server's form. It is intended for object added at runtime.
See also AddServerObjectWithReference.