Componentes.Terceros.RemObj.../official/5.0.23.613/Data Abstract for Delphi/Samples/Calculated Fields/CalcFieldsLibrary_Invk.pas

57 lines
1.9 KiB
ObjectPascal

unit CalcFieldsLibrary_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,
{Used RODL Intf's:} DataAbstract4_Intf,
{Used RODL Invk's:} DataAbstract4_Invk,
{Generated:} CalcFieldsLibrary_Intf;
type
{$M+}
TCalcFieldsService_Invoker = class(TDataAbstractService_Invoker)
private
protected
published
procedure Invoke_GetServiceVersion(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
end;
{$M-}
implementation
uses
{RemObjects:} uRORes, uROClient;
{ TCalcFieldsService_Invoker }
procedure TCalcFieldsService_Invoker.Invoke_GetServiceVersion(const __Instance:IInterface; const __Message:IROMessage; const __Transport:IROTransport; out __oResponseOptions:TROResponseOptions);
{ function GetServiceVersion: String; }
var
lResult: String;
begin
try
lResult := (__Instance as ICalcFieldsService).GetServiceVersion;
__Message.InitializeResponseMessage(__Transport, 'CalcFieldsLibrary', 'CalcFieldsService', 'GetServiceVersionResponse');
__Message.Write('Result', TypeInfo(String), lResult, []);
__Message.Finalize;
__Message.UnsetAttributes(__Transport);
finally
end;
end;
end.