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
Handles propagation of SLAVE and MASTER roles on connected devices.
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetRoleService(SalRoleService salRoleService) Sets role service.Methods inherited from interface org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServicecloseServiceInstance, instantiateServiceInstanceMethods inherited from interface org.opendaylight.yangtools.concepts.IdentifiablegetIdentifierMethods inherited from interface org.opendaylight.openflowplugin.api.openflow.OFPContextclose, getDeviceInfo, registerMastershipWatcherMethods inherited from interface org.opendaylight.openflowplugin.api.openflow.device.RequestContextStackcreateRequestContext
- 
Method Details- 
setRoleServiceSets role service.- Parameters:
- salRoleService- the sal role service
 
 
-