Retrieve response from server for a request
Source position: advancedipc.pp line 119
public function TIPCClient.PeekResponse( |
const aStream: TStream; |
out outMsgType: TMessageType |
):Boolean; overload; |
const aStream: TStream; |
out outMsgType: TMessageType; |
const aTimeOut: Integer |
):Boolean; overload; |
const aRequestID: Integer; |
const aStream: TStream; |
out outMsgType: TMessageType |
):Boolean; overload; |
const aRequestID: Integer; |
const aStream: TStream; |
out outMsgType: TMessageType; |
const aTimeOut: Integer |
):Boolean; overload; |
aStream |
|
Stream to receive response data |
outMsgType |
|
Returns the response message type |
True if response was available
aStream |
|
Stream to receive response data |
outMsgType |
|
Returns the response message type |
aTimeOut |
|
Timeout in milliseconds |
aRequestID |
|
Request ID to retrieve response for |
aStream |
|
Stream to receive response data |
outMsgType |
|
Returns the response message type |
aRequestID |
|
Request ID to retrieve response for |
aStream |
|
Stream to receive response data |
outMsgType |
|
Returns the response message type |
aTimeOut |
|
Timeout in milliseconds |
The PeekResponse function retrieves the server response for a previously sent request. Multiple overloads support immediate checking or waiting with timeout. Can retrieve response for specific request ID or the last request from this client.
|
Post request to server without waiting for response |
|
|
Send request to server and wait until processed |