unit DispatchNotifierLibrary_Invk; {----------------------------------------------------------------------------} { This unit was automatically generated by the RemObjects SDK after reading } { the RODL file associated with this project . } { } { Do not modify this unit manually, or your changes will be lost when this } { unit is regenerated the next time you compile the project. } {----------------------------------------------------------------------------} interface uses {vcl:} Classes, {RemObjects:} uROServer, uROServerIntf, uROTypes, uROClientIntf, {Generated:} DispatchNotifierLibrary_Intf; type TDispatchNotifierService_Invoker = class(TROInvoker) private protected published procedure Invoke_SendMessage(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions); end; implementation uses {RemObjects:} uRORes, uROClient; { TDispatchNotifierService_Invoker } procedure TDispatchNotifierService_Invoker.Invoke_SendMessage(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions); { procedure SendMessage(const aMessage: String); } var aMessage: String; begin try __Message.Read('aMessage', TypeInfo(String), aMessage, []); (__Instance as IDispatchNotifierService).SendMessage(aMessage); __Message.InitializeResponseMessage(__Transport, 'DispatchNotifierLibrary', 'DispatchNotifierService', 'SendMessageResponse'); __Message.Finalize; __oResponseOptions := [roNoResponse]; finally end; end; end.