Difference between revisions of "Midware TRequestBroker.AddServerObjectWithReference"
Jump to navigation
Jump to search
(Created page with ' Main page -> Midware component reference -> TRequestBroker -> [[Midware_TRequestBroker.AddServerObje…') |
|||
Line 1: | Line 1: | ||
− | [[Midware | Main page]] -> [[Midware_Components_Reference | Midware component reference]] -> [[ | + | [[Midware | Main page]] -> [[Midware_Components_Reference | Midware component reference]] -> [[Midware_TRequestBroke | TRequestBroke]] -> [[Midware_TRequestBroker.BrokeRequest | BrokeRequest]] |
== Definition == | == Definition == | ||
− | '''procedure''' | + | '''procedure''' BrokeRequest(Sender : TObject; RqBuffer : PChar; RqLength : Integer; Tag : TObject; SendResp : TSendResponseToClient); |
== Description == | == Description == | ||
− | + | BrokeRequest is the ORB main method. This is the method which does all the work: creack header, find and instanciate TServerObject, execute server object code and send result back to the client. | |
+ | |||
+ | RqBuffer and RqLength argument are the request buffer address and length. Tag is a reference to internal TWSocket component used for communication with client. SendResp is a pointer to the method which will be used to send result set back to client. | ||
+ | |||
+ | BrokeRequest should not be used in a normal application server because it is invoked automatically by TAppServer component when a client send a request. |
Revision as of 14:58, 7 May 2011
Main page -> Midware component reference -> TRequestBroke -> BrokeRequest
Definition
procedure BrokeRequest(Sender : TObject; RqBuffer : PChar; RqLength : Integer; Tag : TObject; SendResp : TSendResponseToClient);
Description
BrokeRequest is the ORB main method. This is the method which does all the work: creack header, find and instanciate TServerObject, execute server object code and send result back to the client.
RqBuffer and RqLength argument are the request buffer address and length. Tag is a reference to internal TWSocket component used for communication with client. SendResp is a pointer to the method which will be used to send result set back to client.
BrokeRequest should not be used in a normal application server because it is invoked automatically by TAppServer component when a client send a request.