Post a server response to the client.
Source position: advancedsingleinstance.pas line 67
public procedure TAdvancedSingleInstance.ServerPostCustomResponse( |
const aRequestID: Integer; |
const aMsgType: Integer; |
const aStream: TStream |
); |
aRequestID |
|
Client request ID to respond to. |
aMsgType |
|
Message type for the message. |
aStream |
|
Message payload. |
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
If this application instance is not a server instance, then a ESingleInstance exception is raised.
|
Send a custom message to the server. |
|
|
ClientSendCustomRequest. |
|
|
Check whether the server posted a response. |