Interface RoleContext
- All Superinterfaces:
AutoCloseable
,org.opendaylight.mdsal.singleton.api.ClusterSingletonService
,org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.api.ServiceGroupIdentifier>
,OFPContext
,RequestContextStack
- All Known Implementing Classes:
RoleContextImpl
Handles propagation of SLAVE and MASTER roles on connected devices.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setRoleRpc
(SetRole setRole) Sets role service rpc implementation.Methods inherited from interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService
closeServiceInstance, instantiateServiceInstance
Methods inherited from interface org.opendaylight.yangtools.concepts.Identifiable
getIdentifier
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 Details
-
setRoleRpc
Sets role service rpc implementation.- Parameters:
setRole
- the set role rpc
-