Midware TRequestBroker.AddServerObject
Jump to navigation
Jump to search
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.