API:Datasnap.Win.SConnect.TStreamedConnection
Delphi
TStreamedConnection = class(TDispatchConnection, ISendDataBlock)
C++
class PASCALIMPLEMENTATION TStreamedConnection : public Datasnap::Win::Mconnect::TDispatchConnection
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
class | public | Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp |
Datasnap.Win.SConnect | Datasnap.Win.SConnect |
説明
TDispatchConnection は,クライアントアプリケーションを IDispatch ベースのアプリケーションサーバーに接続するオブジェクトの基本クラスです。
Datasnap.Win.SConnect.TStreamedConnection は Datasnap.Win.MConnect.TDispatchConnection を継承しています。以下の内容はすべて Datasnap.Win.MConnect.TDispatchConnection を参照しています。
TDispatchConnection は,クライアントアプリケーションを IDispatch ベースのアプリケーションサーバーに接続するオブジェクトの基本クラスです。
TDispatchConnection のインスタンスは作成しないでください。TDispatchConnection は,多層データベースアプリケーションの COM ベースアプリケーションサーバーとの接続を確立するカスタムコンポーネントを作成する場合に基本クラスとして使用されます。
TDispatchConnection は,アプリケーションサーバーにログインし,IAppServer インターフェースを取得し,アプリケーションサーバーのインターフェースを呼び出し,リモート接続を管理するための基盤を定義します。さらに,TCustomRemoteServer は,1 つまたは複数のクライアントデータセットを処理する機能を継承します。
TDispatchConnection 自身は,アプリケーションサーバーに接続する機能を提供していません。これは,さまざまな種類の接続のために細分化されて実装されている下位クラスで提供されます。しかし,接続が確立されると,TDispatchConnection は TClientDataSet コンポーネントがアプリケーションサーバーの IAppServer インターフェースを使用できるようにします。
クライアントアプリケーションが COM ベースアプリケーションサーバーに接続できるようにするには,TSocketConnection,TWebConnection,または TDCOMConnection などの TDispatchConnection の下位クラスを使用します。