TROService

Overview

TROService is a helper class used to implement the Combo templates that can act as a Windows Service and standalone VCL application. It descends from Delphi's TService implementation to provide some extended internal functionality needed for the dual use.

Use Case

You will usually not work with instances of this class directly, but use the "Combo Service/Standalone" project template included with Remoting SDK to build combo servers.

Location

  • Unit: uROComboService.pas
  • Ancestry: TService | TROService

Instance Methods


constructor CreateNew  override

Creates a new instance with a supplied values.

constructor CreateNew(AOwner: TComponent; Dummy: Integer)

Parameters:

  • AOwner:
  • Dummy:

CreateForm

procedure CreateForm(InstanceClass: TComponentClass; var Reference: )

Parameters:

  • InstanceClass:
  • Reference:

Execute  protected

procedure Execute(Sender: TService)

Parameters:

  • Sender:

GetServiceController  override

function GetServiceController: TServiceController

Run

procedure Run

Start  protected

Starts the service.

procedure Start(Sender: TService; var Started: Boolean)

Parameters:

  • Sender:
  • Started:

Stop  protected

Stops the service.

procedure Stop(Sender: TService; var Stopped: Boolean)

Parameters:

  • Sender:
  • Stopped: