Midware TRequestBroker.AddServerObject
Revision as of 14:47, 7 May 2011 by Marie (talk | contribs) (Created page with ' Main page -> Midware component reference -> TRequestBroker -> [[Midware_TRequestBroker.AddServerObje…')
Main page -> Midware component reference -> TRequestBroker -> AddServerObject
Definition
procedureproperty 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.