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

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

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