Interface RequestFutureContext<T>

  • Type Parameters:
    T - rpc result type
    All Known Subinterfaces:
    RequestContext<T>
    All Known Implementing Classes:
    AbstractRequestContext

    public interface RequestFutureContext<T>
    Request context.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<T>> getFuture()
      Method returns future to be used for handling device requests.
      void setResult​(org.opendaylight.yangtools.yang.common.RpcResult<T> result)  
    • Method Detail

      • getFuture

        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<T>> getFuture()
        Method returns future to be used for handling device requests.
        Returns:
        rpc result
      • setResult

        void setResult​(org.opendaylight.yangtools.yang.common.RpcResult<T> result)