⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 newlibrary_intf.pas

📁 MYSQL 连接控件 MYSQL 连接控件
💻 PAS
字号:
unit NewLibrary_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,
  {Used RODLs:} DataAbstract4_Intf;

const
  { Library ID }
  LibraryUID = '{FC8691D9-9B44-4941-A313-FD72DC5100F4}';

  { Service Interface ID's }
  INewService_IID : TGUID = '{F3792583-7361-4C57-A80A-8720F329F9AA}';

  { Event ID's }

type
  { Forward declarations }
  INewService = interface;




  { INewService }
  INewService = interface(IDataAbstractService)
    ['{F3792583-7361-4C57-A80A-8720F329F9AA}']
    procedure NewMethod;
  end;

  { CoNewService }
  CoNewService = class
    class function Create(const aMessage: IROMessage; aTransportChannel: IROTransportChannel): INewService;
  end;

  { TNewService_Proxy }
  TNewService_Proxy = class(TDataAbstractService_Proxy, INewService)
  protected
    function __GetInterfaceName:string; override;

    procedure NewMethod;
  end;

implementation

uses
  {vcl:} SysUtils,
  {RemObjects:} uROEventRepository, uRORes;

{ CoNewService }

class function CoNewService.Create(const aMessage: IROMessage; aTransportChannel: IROTransportChannel): INewService;
begin
  result := TNewService_Proxy.Create(aMessage, aTransportChannel);
end;

{ TNewService_Proxy }

function TNewService_Proxy.__GetInterfaceName:string;
begin
  result := 'NewService';
end;

procedure TNewService_Proxy.NewMethod;
begin
  try
    __Message.InitializeRequestMessage(__TransportChannel, 'NewLibrary', __InterfaceName, 'NewMethod');
    __Message.Finalize;

    __TransportChannel.Dispatch(__Message);

  finally
    __Message.FreeStream;
  end
end;

initialization
  RegisterProxyClass(INewService_IID, TNewService_Proxy);


finalization
  UnregisterProxyClass(INewService_IID);

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -