unit srvUsuarios_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,
  {Ancestor Implementation:} DataAbstractService_Impl,
  {Used RODLs:} DataAbstract4_Intf,
  {Generated:} FactuGES_Intf, uDADataStreamer, uDABin2DataStreamer, uDAClasses;

type
  { TsrvUsuarios }
  TsrvUsuarios = class(TDataAbstractService, IsrvUsuarios)
    Diagrams: TDADiagrams;
    Bin2DataStreamer: TDABin2DataStreamer;
    schUsuarios: TDASchema;
    DataDictionary: TDADataDictionary;
    procedure DataAbstractServiceBeforeAcquireConnection(aSender: TObject;
      var aConnectionName: string);
    procedure DataAbstractServiceCreate(Sender: TObject);
  private
  protected
    { IsrvUsuarios methods }
  end;

implementation

{$R *.dfm}
uses
  {Generated:} FactuGES_Invk, uDataModuleServer;

procedure Create_srvUsuarios(out anInstance : IUnknown);
begin
  anInstance := TsrvUsuarios.Create(nil);
end;

{ srvUsuarios }
procedure TsrvUsuarios.DataAbstractServiceBeforeAcquireConnection(
  aSender: TObject; var aConnectionName: string);
begin
  ConnectionName := dmServer.ConnectionName;
end;

procedure TsrvUsuarios.DataAbstractServiceCreate(Sender: TObject);
begin
  //SessionManager := dmServer.SessionManager;
end;

initialization
  TROClassFactory.Create('srvUsuarios', Create_srvUsuarios, TsrvUsuarios_Invoker);

finalization

end.
