Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 15 ListenerDef : ListenerDef Operations : tibasListenerDef_SetDistributionScope()

tibasListenerDef_SetDistributionScope()
Function
Declaration
tibas_status tibasListenerDef_SetDistributionScope
(tibasListenerDef        listenerDef,
tibas_distributionScope   distributionScope)
Purpose
Sets the distribution scope for a listener.
Parameters
 
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:

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved