Interface RpcContext
-
- All Superinterfaces:
AutoCloseable
,org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
,org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier>
,OFPContext
,RequestContextStack
public interface RpcContext extends RequestContextStack, OFPContext
This context is registered with MD-SAL as a routed RPC provider for the inventory node backed by this switch and tracks the state of any user requests and how they map onto protocol requests. It usesRequestContext
to perform requests.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <S extends org.opendaylight.yangtools.yang.binding.RpcService>
SlookupRpcService(Class<S> serviceClass)
<S extends org.opendaylight.yangtools.yang.binding.RpcService>
voidregisterRpcServiceImplementation(Class<S> serviceClass, S serviceInstance)
<S extends org.opendaylight.yangtools.yang.binding.RpcService>
voidunregisterRpcServiceImplementation(Class<S> serviceClass)
-
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
-
registerRpcServiceImplementation
<S extends org.opendaylight.yangtools.yang.binding.RpcService> void registerRpcServiceImplementation(Class<S> serviceClass, S serviceInstance)
-
lookupRpcService
<S extends org.opendaylight.yangtools.yang.binding.RpcService> S lookupRpcService(Class<S> serviceClass)
-
unregisterRpcServiceImplementation
<S extends org.opendaylight.yangtools.yang.binding.RpcService> void unregisterRpcServiceImplementation(Class<S> serviceClass)
-
-