Datasnap.Win.SConnect.TStreamedConnection.WndProc

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Unit: Datasnap.Win.SConnect
Parent: TStreamedConnection

Delphi

procedure WndProc(var Message: TMessage);

C++

void __fastcall WndProc(Winapi::Messages::TMessage &Message);

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.

See Also