Skip to content

TDynamicConfigPublishSubscribe

The dynamic configuration of a TMessagingPattern.PublishSubscribe based service. Contains dynamic parameters like the connected endpoints etc.

Definition

Unit: Neslib.Iceoryx2.PublishSubscribe

type TDynamicConfigPublishSubscribe = record ... end;

Properties

Name Description
PublisherCount Returns how many TPublisher ports are currently connected.
SubscriberCount Returns how many TSubscriber ports are currently connected.

Methods

Name Description
ListPublishers Iterates over all TPublishers's and calls the callback with the corresponding TPublisherDetailsView. The callback shall return TCallbackProgression.Continue when the iteration shall continue otherwise TCallbackProgression.Stop.
ListSubscribers Iterates over all TSubscriber's and calls the callback with the corresponding TSubscriberDetailsView. The callback shall return TCallbackProgression.Continue when the iteration shall continue otherwise TCallbackProgression.Stop.

Property Descriptions

PublisherCount

Returns how many TPublisher ports are currently connected.

property PublisherCount: Int64 read GetPublisherCount

Type: Int64


SubscriberCount

Returns how many TSubscriber ports are currently connected.

property SubscriberCount: Int64 read GetSubscriberCount

Type: Int64


Method Descriptions

ListPublishers(TCallback<TPublisherDetailsView>)

Iterates over all TPublishers's and calls the callback with the corresponding TPublisherDetailsView. The callback shall return TCallbackProgression.Continue when the iteration shall continue otherwise TCallbackProgression.Stop.

procedure ListPublishers(const ACallback: TCallback<TPublisherDetailsView>)

Parameters

ACallback: TCallback<TPublisherDetailsView>


ListSubscribers(TCallback<TSubscriberDetailsView>)

Iterates over all TSubscriber's and calls the callback with the corresponding TSubscriberDetailsView. The callback shall return TCallbackProgression.Continue when the iteration shall continue otherwise TCallbackProgression.Stop.

procedure ListSubscribers(const ACallback: TCallback<TSubscriberDetailsView>)

Parameters

ACallback: TCallback<TSubscriberDetailsView>