IROAsyncTransportChannel
Overview
The IROAsyncTransportChannel interface provides an application with the ability to process in asynchronous communication mode.
Location
- Unit: uROAsync.pas
- Ancestry: IROAsyncTransportChannel | Descendants
Implemented in
Required Methods
CheckStatus
Indicates whether an answer is received after an InvokeRequest.
function CheckStatus(const iMessageID: string): boolean
Parameters:
- iMessageID: Value of the previously called InvokeRequest result
InvokeRequest
Invokes a request in async mode. The returned string is used in the CheckStatus invocation.
function InvokeRequest(aRequest: TStream; iGetResponse: boolean): string
Parameters:
- aRequest: Request data
- iGetResponse: Indicates whether a response to this request is expected
RetrieveResponse
Retrieves a response in an async channel.
procedure RetrieveResponse(const iMessageID: string; aResponse: TStream)
Parameters:
- iMessageID: Id of a waiting response
- aResponse: Response data