com.h3c.sdn.adm.role

## Interface RoleListener

-     public interface RoleListener

  Provides an observer semantics for components interested in knowing the role changes of the controller in relation to the controlled domain entities.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `rolesAsserted(RoleEvent revt)` Indicates that a role assertion event has occurred in the controlled domain.

- - ### Method Detail

    - #### rolesAsserted

          void rolesAsserted(RoleEvent revt)

      Indicates that a role assertion event has occurred in the controlled domain. This could be due to controller assuming mastership over a region where it was originally configured to be a slave and the original master experienced a failure. This event is also emitted when the original master recovers from a fault and is regained the mastership of the configured controlled domain region.
      Parameters:
        `revt` - the role event abstraction which provides the gory details.

Copyright © 2014. All Rights Reserved.