- Recompilación en Delphi10 de todos los paquetes de RO para generar las DCU's en Lib\D10 - Recompilación en Delphi10 de todos los paquetes de DA para generar las DCU's en Lib\D10 git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.RemObjects@9 b6239004-a887-0f4b-9937-50029ccdca16
53 lines
1.8 KiB
ObjectPascal
53 lines
1.8 KiB
ObjectPascal
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.
|