Skip to content

TBoldSubscription

Not in the current source

This class is documented in the Bold 4.0 help, but no class or interface with this name is declared in Source/ today. It was removed or reshaped (for example into a record).

Unit: BoldSubscription

Declaration

TBoldSubscription = class(TBoldMemoryManagedObject)

Hierarchy

  1. TObject
  2. TBoldMemoryManagedObject
  3. TBoldSubscription
  4. Direct subclasses
  5. TBoldEventSubscription
  6. TBoldSmallEventSubscription

Description

TBoldSubscription is an abstract superclass. The actual subscriptions are the concrete subclasses of TBoldSubscription. A TBoldSubscription has 4 basic properties, a TBoldPublisher, a TBoldSubscriber, a match condition and a requested event. The requested event allows mapping of one or more actual events an event meaningful for the Subscriber. Each subscription defines the conditions for notifying the subscriber. They will normally be a TBoldEvent or a set of TBoldSmallEvents. When SendEvent is called it checks all the publishers subscriptions. For each subscription that matches the event Receive is called for the corresponding subscriber. The same is done for SendQuery and Answer

Properties

Name Summary Notes
Publisher protected, read-only
RequestedEvent protected, read-only
Subscriber protected, read-only

Publisher

property Publisher: TBoldPublisher;

RequestedEvent

property RequestedEvent: TBoldRequestedEvent;

Subscriber

property Subscriber: TBoldSubscriber;

Methods

Name Summary Notes
CloneTo protected, abstract
Create protected
IsMatchingEvent protected, abstract
UnlinkFromPublisher protected
UnlinkFromSubscriber protected

CloneTo

procedure CloneTo(Subscriber: TBoldSubscriber; NewRequestedEvent: TBoldRequestedEvent); virtual; abstract;

Create

constructor Create(Publisher: TBoldPublisher; Subscriber: TBoldSubscriber; RequestedEvent: TBoldRequestedEvent);

IsMatchingEvent

function IsMatchingEvent(OriginalEvent: TBoldEvent): Boolean; virtual; abstract;

UnlinkFromPublisher

procedure UnlinkFromPublisher;

UnlinkFromSubscriber

procedure UnlinkFromSubscriber;

Generated from the Bold 4.0 help (Help/BfD.chm) by Tools/chm2mkdocs.py; member lists reflect Bold 4.0, see the source for members added since.