Interface RoleContext
- 
- All Superinterfaces:
 AutoCloseable,org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService,org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier>,OFPContext,RequestContextStack
- All Known Implementing Classes:
 RoleContextImpl
public interface RoleContext extends OFPContext, RequestContextStack
Handles propagation of SLAVE and MASTER roles on connected devices. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetRoleService(SalRoleService salRoleService)Sets role service.- 
Methods inherited from interface org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
closeServiceInstance, instantiateServiceInstance 
- 
Methods inherited from interface org.opendaylight.openflowplugin.api.openflow.OFPContext
close, getDeviceInfo, registerMastershipWatcher 
- 
Methods inherited from interface org.opendaylight.openflowplugin.api.openflow.device.RequestContextStack
createRequestContext 
 - 
 
 - 
 
- 
- 
Method Detail
- 
setRoleService
void setRoleService(SalRoleService salRoleService)
Sets role service.- Parameters:
 salRoleService- the sal role service
 
 - 
 
 -