unit AutoServerService_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. } {----------------------------------------------------------------------------} interface uses {vcl:} Classes, SysUtils, {RemObjects:} uROClientIntf, uROTypes, uROServer, uROServerIntf, uROSessions, {Generated:} AutoServerLibrary_Intf; type { TAutoServerService } TAutoServerService = class(TRORemotable, IAutoServerService) private protected { IAutoServerService methods } function GetServerTime: DateTime; function GetEnvironment(const Environment: string): string; end; implementation uses {Generated:} AutoServerLibrary_Invk; procedure Create_AutoServerService(out anInstance: IUnknown); begin anInstance := TAutoServerService.Create; end; { AutoServerService } function TAutoServerService.GetServerTime: DateTime; begin Result := Now; end; function TAutoServerService.GetEnvironment(const Environment: string): string; begin Result := GetEnvironmentVariable(Environment); end; initialization TROClassFactory.Create('AutoServerService', Create_AutoServerService, TAutoServerService_Invoker); finalization end.