unit LoadBalancingService_Impl; {----------------------------------------------------------------------------} { This unit was automatically generated by the RemObjects SDK after reading } { the RODL file associated with this project . } { } { This is where you are supposed to code the implementation of your objects. } {----------------------------------------------------------------------------} {$I Remobjects.inc} interface uses {vcl:} Classes, SysUtils, {RemObjects:} uROXMLIntf, uROClientIntf, uROTypes, uROServer, uROServerIntf, uROSessions, {Required:} uRORemoteDataModule, {Generated:} LoadBalancingLibrary_Intf; type { TLoadBalancingService } TLoadBalancingService = class(TRORemoteDataModule, ILoadBalancingService) private protected { ILoadBalancingService methods } function Sum(const A: Integer; const B: Integer): Integer; function GetServerTime: DateTime; end; implementation {$R *.dfm} uses {Generated:} LoadBalancingLibrary_Invk; procedure Create_LoadBalancingService(out anInstance : IUnknown); begin anInstance := TLoadBalancingService.Create(nil); end; { LoadBalancingService } function TLoadBalancingService.Sum(const A: Integer; const B: Integer): Integer; begin result := A + B; end; function TLoadBalancingService.GetServerTime: DateTime; begin result := Now; end; initialization TROClassFactory.Create('LoadBalancingService', Create_LoadBalancingService, TLoadBalancingService_Invoker); finalization end.