Datasnap.Win.SConnect.TStreamedConnection.ThreadReceivedStream

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 ThreadReceivedStream(var Message: TMessage); message THREAD_RECEIVEDSTREAM;

C++

MESSAGE void __fastcall ThreadReceivedStream(Winapi::Messages::TMessage &Message);

Description

Handles callbacks from the application server.

TStreamedConnection uses a separate thread for interface calls to and from the application server. When the application server calls a client application interface, that thread sends a message to the Window handle specified by the Handle property. ThreadReceivedStream is the message handler for the Windows message from the application server.

ThreadReceivedStream passes the interface call to the data block interpreter specified by the Interpreter property.

See Also