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. } {----------------------------------------------------------------------------} {$I Remobjects.inc} interface uses {vcl:} Classes, {RemObjects:} uROXMLIntf, uROServer, uROServerIntf, uROTypes, uROClientIntf, {Generated:} DispatchNotifierLibrary_Intf; type TDispatchNotifierService_Invoker = class(TROInvoker) private protected public constructor Create; override; published procedure Invoke_SendMessage(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions); end; implementation uses {RemObjects:} uRORes, uROClient; { TDispatchNotifierService_Invoker } constructor TDispatchNotifierService_Invoker.Create; begin inherited Create; FAbstract := False; end; procedure TDispatchNotifierService_Invoker.Invoke_SendMessage(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions); { procedure SendMessage(const aMessage: Widestring); } var aMessage: Widestring; begin try __Message.Read('aMessage', TypeInfo(Widestring), aMessage, []); (__Instance as IDispatchNotifierService).SendMessage(aMessage); __Message.InitializeResponseMessage(__Transport, 'DispatchNotifierLibrary', 'DispatchNotifierService', 'SendMessageResponse'); __Message.Finalize; __Message.UnsetAttributes(__Transport); __oResponseOptions := [roNoResponse]; finally end; end; initialization end.