TROCustomRODLReader

Overview

This is an abstract class to allow RODL reading process to be customized. Such customization is an advanced technique that can be used by either server class or message class or both. RODL reading customization may be necessary if the RODL content access is more complex then just reading a local resource. For example, Hydra enabled applications may consist of several modules and each of those may contain its own RODL resource.
In general this feature is rarely used. The RemoObjects SDK itself has no concrete TROCustomRODLReader descendants implemented, just serving as a base for extensions.

Location


 

constructor Create  override

Standard component constructor

constructor Create(AOwner: TComponent)

Parameters:

  • AOwner: Owner

Assign  override

Copies the contents of another, similar object.

procedure Assign(Source: TPersistent)

Parameters:

  • Source: Instance whose properties will be copied

DefaultRODLFormat

property DefaultRODLFormat: string read write

DefaultServiceGroup

Specifies default Service Groups

property DefaultServiceGroup: string read write

DoReadRODLResource  protected virtual abstract

procedure DoReadRODLResource(Dest: TStream; aServiceGroup: string; aIgnoreErrors: Boolean; aRemovePrivateService: Boolean)

Parameters:

  • Dest:
  • aServiceGroup:
  • aIgnoreErrors:
  • aRemovePrivateService:

Notification  protected override    (declared in TROComponent)

Forwards notification messages to all owned components.

procedure Notification(aComponent: TComponent; Operation: TOperation)

Parameters:

  • aComponent: component
  • Operation: operation

OnAfterReadRODL

This event is fired before the actual RODL reading method called.

property OnAfterReadRODL: TROReadRODLEvent read write
delegate: procedure OnAfterReadRODL(aRODLReader: TROCustomRODLReader; aStream: TStream)

OnBeforeReadRODL

This event is fired after the RODL reading mathod finishes.

property OnBeforeReadRODL: TROReadRODLEvent read write
delegate: procedure OnBeforeReadRODL(aRODLReader: TROCustomRODLReader; aStream: TStream)

ReadRODLResource

procedure ReadRODLResource(Dest: TStream; aServiceGroup: string; aIgnoreErrors: Boolean; aRemovePrivateService: Boolean)

Parameters:

  • Dest:
  • aServiceGroup:
  • aIgnoreErrors:
  • aRemovePrivateService:

RODLName

property RODLName: string read

ROFreeNotification    (declared in TROComponent)

Forwards notification messages to all owned components.

procedure ROFreeNotification(aComponent: TComponent)

Parameters:

  • aComponent: component

RORemoveFreeNotification    (declared in TROComponent)

Forwards notification messages to all owned components.

procedure RORemoveFreeNotification(aComponent: TComponent)

Parameters:

  • aComponent: component

SendRemoveNotification  protected    (declared in TROComponent)

Forwards notification messages to all owned components.

procedure SendRemoveNotification(aComponent: TComponent)

Parameters:

  • aComponent: component

SetRODLName  protected

procedure SetRODLName(Value: string)

Parameters:

  • Value:

 

DefaultRODLFormat

property DefaultRODLFormat: string read write

DefaultServiceGroup

Specifies default Service Groups

property DefaultServiceGroup: string read write

RODLName

property RODLName: string read

 

constructor Create  override

Standard component constructor

constructor Create(AOwner: TComponent)

Parameters:

  • AOwner: Owner

Assign  override

Copies the contents of another, similar object.

procedure Assign(Source: TPersistent)

Parameters:

  • Source: Instance whose properties will be copied

DoReadRODLResource  protected virtual abstract

procedure DoReadRODLResource(Dest: TStream; aServiceGroup: string; aIgnoreErrors: Boolean; aRemovePrivateService: Boolean)

Parameters:

  • Dest:
  • aServiceGroup:
  • aIgnoreErrors:
  • aRemovePrivateService:

Notification  protected override    (declared in TROComponent)

Forwards notification messages to all owned components.

procedure Notification(aComponent: TComponent; Operation: TOperation)

Parameters:

  • aComponent: component
  • Operation: operation

ReadRODLResource

procedure ReadRODLResource(Dest: TStream; aServiceGroup: string; aIgnoreErrors: Boolean; aRemovePrivateService: Boolean)

Parameters:

  • Dest:
  • aServiceGroup:
  • aIgnoreErrors:
  • aRemovePrivateService:

ROFreeNotification    (declared in TROComponent)

Forwards notification messages to all owned components.

procedure ROFreeNotification(aComponent: TComponent)

Parameters:

  • aComponent: component

RORemoveFreeNotification    (declared in TROComponent)

Forwards notification messages to all owned components.

procedure RORemoveFreeNotification(aComponent: TComponent)

Parameters:

  • aComponent: component

SendRemoveNotification  protected    (declared in TROComponent)

Forwards notification messages to all owned components.

procedure SendRemoveNotification(aComponent: TComponent)

Parameters:

  • aComponent: component

SetRODLName  protected

procedure SetRODLName(Value: string)

Parameters:

  • Value:

 

OnAfterReadRODL

This event is fired before the actual RODL reading method called.

property OnAfterReadRODL: TROReadRODLEvent read write
delegate: procedure OnAfterReadRODL(aRODLReader: TROCustomRODLReader; aStream: TStream)

OnBeforeReadRODL

This event is fired after the RODL reading mathod finishes.

property OnBeforeReadRODL: TROReadRODLEvent read write
delegate: procedure OnBeforeReadRODL(aRODLReader: TROCustomRODLReader; aStream: TStream)