com.h3c.of.ctl

## Interface RoleAdvisor

-     public interface RoleAdvisor

  Provides an abstraction of the "Role Service".

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isMasterFor(DataPathId dpid)` Returns `true` if the local controller instance has the Master role for the specified datapath; `false` otherwise.

- - ### Method Detail

    - #### isMasterFor

          boolean isMasterFor(DataPathId dpid)

      Returns `true` if the local controller instance has the Master role for the specified datapath; `false` otherwise.
      Parameters:
        `dpid` - the target datapath
      Returns:
        `true` if this controller is Master; `false` otherwise

Copyright © 2014. All Rights Reserved.