RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapterImageField.ImplHandleRequest Method

Provides the underlying implementation for the HandleRequest method.

Pascal
function ImplHandleRequest(DispatchParams: IAdapterDispatchParams): Boolean; virtual;
C++
virtual __fastcall Boolean ImplHandleRequest(IAdapterDispatchParams DispatchParams);

The HandleRequest method calls ImplHandleRequest to process incoming request messages directed at this adapter field.  

DispatchParams is an interface for reading the parameters that accompanied the incoming request message. These parameters identify the image that is the value of this field. 

ImplHandleRequest uses the AParams interface to access interfaces for the current request and response objects. It then generates an OnGetImage event to obtain the current image. If the OnGetImage event handler does not provide an image, ImplHandleRequest retrieves the value of the associated graphic field object. Finally, ImplHandleRequest writes the image to the current response object. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!