Datasnap.Win.SConnect.TStreamedConnection.WndProc
Delphi
procedure WndProc(var Message: TMessage);
C++
void __fastcall WndProc(Winapi::Messages::TMessage &Message);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp |
Datasnap.Win.SConnect | TStreamedConnection |
Description
Dispatches messages from the transport layer.
TStreamedConnection uses a separate thread for interface calls to and from the application server. That thread communicates with the streamed connection component by sending Windows messages to the handle specified by the Handle property. WndProc is the window procedure associated with that Window handle. It dispatches any messages that have message handlers such as ThreadException or ThreadReceivedStream. All other messages are ignored.