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
- Unit: uROCustomRODLReader.pas
- Ancestry: TComponent | TROComponent | TROCustomRODLReader
constructor Create override (declared in TROComponent)
Forwards notification messages to all owned components.
constructor Create(aOwner: TComponent)
Parameters:
- aOwner: component
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
The method that is actually responsible for reading the resource. Descendant classes implementers must override it and implement some reading procedure there.
procedure DoReadRODLResource(Dest: TStream; aServiceGroup: string)
Parameters:
- Dest: The target stream to place the RODL content into.
- aServiceGroup:
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
The method that is actually responsible for reading the resource. Descendant classes implementers must override it and implement some reading procedure there.
procedure ReadRODLResource(Dest: TStream; aServiceGroup: string)
Parameters:
- Dest: The target stream to place the RODL content into.
- aServiceGroup:
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
constructor Create override (declared in TROComponent)
Forwards notification messages to all owned components.
constructor Create(aOwner: TComponent)
Parameters:
- aOwner: component
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
The method that is actually responsible for reading the resource. Descendant classes implementers must override it and implement some reading procedure there.
procedure DoReadRODLResource(Dest: TStream; aServiceGroup: string)
Parameters:
- Dest: The target stream to place the RODL content into.
- aServiceGroup:
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
The method that is actually responsible for reading the resource. Descendant classes implementers must override it and implement some reading procedure there.
procedure ReadRODLResource(Dest: TStream; aServiceGroup: string)
Parameters:
- Dest: The target stream to place the RODL content into.
- aServiceGroup:
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
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)