IROInvoker
Overview
The IROInvoker interface is used by the Remoting SDK invocation framework to invoke the actual methods on your service implementation.
This interface is used internally by the TROMessageDispatcher in conjunction with the IROClassFactory interface to process an IROMessage.
The TROInvoker class implements the IROInvoker interface.
In _invk files generated by Remoting SDK for your services, the TROInvoker class is used as an ancestor for _Invoker
classes, so they implement an IROInvoker interface.
You hardly will have to deal with this interface.
Location
- Unit: uROServerIntf.pas
- Ancestry: IROInvoker
Required Methods
HandleMessage
This method is called to do specific work concerning aMessage
.
function HandleMessage(const aFactory: IROClassFactory; const aMessage: IROMessage; const aTransport: IROTransport; out oResponseOptions: TROResponseOptions): Boolean
Parameters:
- aFactory: IROClassFactory used to create instances of a service implementation
- aMessage: Request or response IROMessage
- aTransport: IROTransport
- oResponseOptions: Set of TROResponseOption