tibasListenerDef_SetDistributionScope()
Sets the distribution scope for a listener.
Declaration
tibas_status tibasListenerDef_SetDistributionScope (tibasListenerDef listenerDef, tibas_distributionScope distributionScope)
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:
Copyright © Cloud Software Group, Inc. All Rights Reserved.