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 Summary

    Modifier and Type
    Method
    Description
    <S extends org.opendaylight.yangtools.yang.binding.RpcService>
    S
    lookupRpcService(Class<S> serviceClass)
     
    <S extends org.opendaylight.yangtools.yang.binding.RpcService>
    void
    registerRpcServiceImplementation(Class<S> serviceClass, S serviceInstance)
     
    <S extends org.opendaylight.yangtools.yang.binding.RpcService>
    void
     

    Methods inherited from interface org.opendaylight.mdsal.singleton.common.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

    • 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)