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 uses RequestContext to perform requests.
    • 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)