IROTransportChannelEx
Overview
The IROTransportChannelEx interface extends the IROTransportChannel interface with a BeforeDispatch method, allowing to do a some preparation before performing the actual message dispatching.
The TROAsyncProxy class uses this interface (if the used TransportChannel
supports it) in the **__DispatchAsyncRequest** method.
Location
- Unit: uROAsync.pas
- Ancestry: IROTransportChannelEx
Required Methods
BeforeDispatch
Allows an implementation to do necessary preparatory actions. For example: the TROBaseSuperHTTPChannel and TROBaseSuperTCPChannel classes implement it to ensure a connection and initialize the IMessage.
procedure BeforeDispatch(aMessage: IROMessage)
Parameters:
- aMessage: Message