Skip to content

TSubscriberCreateError

Describes the failures when a new subscriber is created via the TPortFactorySubscriber.

Definition

Unit: Neslib.Iceoryx2.PublishSubscribe

type TSubscriberCreateError = (ExceedsMaxSupportedSubscribers, BufferSizeExceedsMaxSupportedBufferSizeOfService, FailedToDeployThreadsafetyPolicy, UnableToCreatePortTag, HistoryRequestExceedsHistorySizeOfService, HistoryRequestExceedsBufferSizeOfSubscriber, UnableToGenerateUniqueSubscriberId)

Enumeration Values

ExceedsMaxSupportedSubscribers (0)

The maximum amount of subscribers that can connect to a service is defined in TConfig. When this is exceeded no more subscribers can be created for a specific service.


BufferSizeExceedsMaxSupportedBufferSizeOfService (1)

When the subscriber requires a larger buffer size than the service offers the creation will fail.


FailedToDeployThreadsafetyPolicy (2)

Caused by a failure when instantiating a ArcSyncPolicy defined in the service as ArcThreadSafetyPolicy.


UnableToCreatePortTag (3)

The tracking port tag, required for cleanup, could not be created.


HistoryRequestExceedsHistorySizeOfService (4)

When the subscriber requests a larger history than the service offers the creation will fail.


HistoryRequestExceedsBufferSizeOfSubscriber (5)

When the subscriber requests a larger history than its buffer can hold.


UnableToGenerateUniqueSubscriberId (6)

The UniqueSubscriberId could not be generated.