tibasListenerDef_SetDistributionScope()

Sets the distribution scope for a listener.

Declaration

tibas_status tibasListenerDef_SetDistributionScope
(tibasListenerDef        listenerDef,
tibas_distributionScope   distributionScope)

Parameters

Parameter Description
listenerDef The TIBCO ActiveSpaces entity on which the function is invoked.
distributionScope The value can be either TIBAS_DISTRIBUTION_SCOPE_ALL (the default) or TIBAS_DISTRIBUTION_SCOPE_SEEDED.

Remarks

Use the tibasListenerDef_SetDistributionScope() function to specify the distribution scope for a listener.

The distribution scope can be:

TIBAS_DISTRIBUTION_SCOPE_ALL
(default setting) The listener listens to events related to all tuples in the space.
TIBAS_DISTRIBUTION_SCOPE_SEEDED
The listener listens only to events associated with the tuples in the space that are seeded by this member.

If the distribution role is TIBAS_DISTRIBUTION_SCOPE_SEEDED, two additional types of event may be generated:

  • SEED
    UNSEED