TAdvancedSingleInstance.ServerPostCustomResponse¶
Post a server response to the client.
Declaration¶
Source position: advancedsingleinstance.pas line 67
public
procedure TAdvancedSingleInstance.ServerPostCustomResponse
(const aRequestID: Integer;
const aMsgType: Integer;
const aStream: TStream);
Description¶
ClientPostCustomRequest> sends the data in aStream to the client instance using message type aMsgType, in response to client message aRequestID. The client can check for the response using TAdvancedSingleInstance.ClientPeekCustomResponse
Errors¶
If this application instance is not a server instance, then a ESingleInstance exception is raised.
See also¶
| Name | Description |
|---|---|
| TAdvancedSingleInstance.ClientPostCustomRequest | Send a custom message to the server. |
| TAdvancedSingleInstance.ClientSendCustomRequest | ClientSendCustomRequest. |
| TAdvancedSingleInstance.ClientPeekCustomResponse | Check whether the server posted a response. |