- Recompilación de todos los paquetes de RO para poner RemObjects_Core_D10 como paquete de runtime/designtime. git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.RemObjects@5 b6239004-a887-0f4b-9937-50029ccdca16
92 lines
2.7 KiB
ObjectPascal
92 lines
2.7 KiB
ObjectPascal
unit DispatchNotifierLibrary_Intf;
|
|
|
|
{----------------------------------------------------------------------------}
|
|
{ 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, TypInfo,
|
|
{RemObjects:} uROClasses, uROClient, uROTypes, uROClientIntf;
|
|
|
|
const
|
|
{ Library ID }
|
|
LibraryUID = '{6DA40FCA-5FC2-40CF-8FC6-7601B1CBFDDC}';
|
|
|
|
{ Service Interface ID's }
|
|
IDispatchNotifierService_IID : TGUID = '{6DA40FCA-5FC2-40CF-8FC6-7601B1CBFDDC}';
|
|
|
|
{ Event ID's }
|
|
|
|
type
|
|
{ Forward declarations }
|
|
IDispatchNotifierService = interface;
|
|
|
|
|
|
{ IDispatchNotifierService }
|
|
IDispatchNotifierService = interface
|
|
['{6DA40FCA-5FC2-40CF-8FC6-7601B1CBFDDC}']
|
|
procedure SendMessage(const aMessage: String);
|
|
end;
|
|
|
|
{ CoDispatchNotifierService }
|
|
CoDispatchNotifierService = class
|
|
class function Create(const aMessage: IROMessage; aTransportChannel: IROTransportChannel): IDispatchNotifierService;
|
|
end;
|
|
|
|
{ TDispatchNotifierService_Proxy }
|
|
TDispatchNotifierService_Proxy = class(TROProxy, IDispatchNotifierService)
|
|
protected
|
|
function __GetInterfaceName:string; override;
|
|
|
|
procedure SendMessage(const aMessage: String);
|
|
end;
|
|
|
|
implementation
|
|
|
|
uses
|
|
{vcl:} SysUtils,
|
|
{RemObjects:} uROEventRepository, uRORes;
|
|
|
|
{ CoDispatchNotifierService }
|
|
|
|
class function CoDispatchNotifierService.Create(const aMessage: IROMessage; aTransportChannel: IROTransportChannel): IDispatchNotifierService;
|
|
begin
|
|
result := TDispatchNotifierService_Proxy.Create(aMessage, aTransportChannel);
|
|
end;
|
|
|
|
{ TDispatchNotifierService_Proxy }
|
|
|
|
function TDispatchNotifierService_Proxy.__GetInterfaceName:string;
|
|
begin
|
|
result := 'DispatchNotifierService';
|
|
end;
|
|
|
|
procedure TDispatchNotifierService_Proxy.SendMessage(const aMessage: String);
|
|
begin
|
|
try
|
|
__Message.InitializeRequestMessage(__TransportChannel, 'DispatchNotifierLibrary', __InterfaceName, 'SendMessage');
|
|
__Message.Write('aMessage', TypeInfo(String), aMessage, []);
|
|
__Message.Finalize;
|
|
|
|
__TransportChannel.Dispatch(__Message);
|
|
|
|
finally
|
|
__Message.FreeStream;
|
|
end
|
|
end;
|
|
|
|
initialization
|
|
RegisterProxyClass(IDispatchNotifierService_IID, TDispatchNotifierService_Proxy);
|
|
|
|
|
|
finalization
|
|
UnregisterProxyClass(IDispatchNotifierService_IID);
|
|
|
|
end.
|