Datasnap.Win.SConnect.TStreamedConnection.Handle
Delphi
property Handle: THandle read GetHandle;
C++
__property NativeUInt Handle = {read=GetHandle, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp |
Datasnap.Win.SConnect | TStreamedConnection |
Description
Provides access to an internal window handle that can receive messages from the transport layer.
Streamed connection components perform all reading from and writing to the application server using a separate execution thread. This limits the impact that communication with the application server has on the speed of the client application, because execution does not need to wait while messages are marshaled and sent or received.
The internal thread that handles these communication tasks uses Windows messages to coordinate events. TStreamedConnection uses the Handle property to provide this internal thread with a window handle that it can use.