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


Chapter 17 SpaceEvent, SpaceMemberEvent, SpaceRemoteMemberEvent, and RemoteMemberEvent : Space Event Operations : tibasSpaceMemberEvent_GetDistributionRole()

tibasSpaceMemberEvent_GetDistributionRole()
Function
Declaration
tibas_status tibasSpaceMemberEvent_GetDistributionRole(
tibasSpaceMemberEvent   spaceMemberEvent,
tibas_distributionRole* distributionRole)
Purpose
Returns the distribution role for a specified space member event.
Parameters
 
Remarks
Use the tibasSpaceMemberEvent_GetDistributionRole() function to return the distribution role for a specified space member event.
The distribution role can be one of the following:
TIBAS_DISTRIBUTION_ROLE_SEEDER Indicates that the space member is a seeder—an application that participates in the storing of data in the space, and can read and write data. When seeder applications join or leave the space, ActiveSpaces redistributes the data in the space as necessary to maintain even data distribution.
TIBAS_DISTRIBUTION_ROLE_LEECH Indicates that the space member is a leech—an application that passively participates in the space and does not read and write data or cause redistribution of space data when it joins or leaves the space.
TIBAS_DISTRIBUTION_ROLE_NONE Indicates that the specified member has not joined the space.
See Also
tibasSpaceMemberEvent_GetType(), tibasSpaceMemberEvent_GetSpaceName()tibasSpaceMemberEvent_GetDistributionRole(), tibasSpaceMemberEvent_GetMember(),

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