Midware TRequestBroker.BrokeRequest

From Overbyte
Revision as of 15:10, 7 May 2011 by Marie (talk | contribs) (Created page with ' Main page -> Midware component reference -> TRequestBroker -> [[Midware_TRequestBroker.BrokeRequest …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Main page -> Midware component reference -> TRequestBroker -> 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.