nn::nex::ChangeMasterStationOperation::IsARoleChange Member Function

Syntax

qBool IsARoleChange();

Parameters

None.

Return Values



Value Description
true Returned when a change in authority occurs.
false Returned when no change in authority occurs. This value means that this migration does not affect this local Duplicated Object. The Duplicated Object's role as a duplica remains unchanged.

Description

Gets whether this operation results in a change of authority of a Duplicated Object.

A change in authority can either be a promotion (a duplica becoming the duplication master: see the IsAPromotion function) or a demotion (the duplication master becoming a duplica: see the IsADemotion function). Duplicated Object migration, in which control authority is moved from one station to another, involves various role changes for the Duplicated Object: an authority promotion, an authority demotion, and no change in role for the rest of its duplicas (their control simply migrates from one station to another).

See Also

IsAPromotion, IsADemotion, DuplicatedObject::IsADuplicationMaster, DuplicatedObject::IsADuplica

Revision History

2011/01/27
Initial version.

CONFIDENTIAL