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


Chapter 23 Member : Member Operations : tibasMember_GetManagementRole()

tibasMember_GetManagementRole()
Function
Declaration
tibas_status tibasMember_GetManagementRole(
tibasMember           member,
tibas_managementRole* managementRole)
Purpose
Returns the role of the specified member of the metaspace.
Parameters
 
Returns the management role. Possible values are TIBAS_ROLE_NONE, TIBAS_ROLE_MEMBER, or TIBAS_ROLE_MANAGER
Remarks
Use the tibasMember_GetManagementRole() function to return the management role that is specified for a specified space member.
The management role is assigned by an internal ActiveSpaces protocol that manages group membership. At a given time, a member can have one of the following management roles:
TIBAS_ROLE_NONE A transitory role that is in effect while the group membership is being processed.
TIBAS_ROLE_MEMBER The member is simply a member of the metaspace and is not managing membership.
TIBAS_ROLE_MANAGER The member is currently managing membership for the Metaspace.
Your application might use this function to determine the current management role for a member that is intended to serve some special function in your application that would require that it have a management role or not have a management role.
See Also
tibasMember_GetDistributionRole()
 

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