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


Chapter 3 Space : Space Operations and Options Initialization Operations : tibasSpace_SetDistributionRole()

tibasSpace_SetDistributionRole()
Function
Declaration
tibas_status tibasSpace_SetDistributionRole
(tibasSpace              space,
tibas_distributionRole   role)
Purpose
Sets the distribution role of the member for the space.
Parameters
 
The role of the space can be either TIBAS_ROLE_LEECH or TIBAS_ROLE_SEEDER.
Remarks
Use the tibasSpace_SetDistributionRole() function to change the distribution role for the space after it has been set initially.
The distribution role is set initially when your application sets the distribution role using tibasMetaspace_GetSpaceEx() and then joins the space by calling the tibasMetaspace_Connect() function and referencing the MemberDef object that specifies the distribution role, or when the application joins the space by calling the tibasMetaspace_GetSpace() function.
See Also
tibasMetaspace_Connect(), tibasMetaspace_GetSpace(), tibasMetaspace_GetSpaceEx()

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