Class AbstractRequestContext<T>

    • Constructor Detail

      • AbstractRequestContext

        protected AbstractRequestContext​(org.opendaylight.yangtools.yang.common.Uint32 xid)
      • AbstractRequestContext

        protected AbstractRequestContext​(Long xid)
    • Method Detail

      • getFuture

        public final<org.opendaylight.yangtools.yang.common.RpcResult<T>> getFuture()
        Description copied from interface: RequestFutureContext
        Method returns future to be used for handling device requests.
        Specified by:
        getFuture in interface RequestFutureContext<T>
        rpc result
      • setResult

        public final void setResult​(org.opendaylight.yangtools.yang.common.RpcResult<T> result)
        Specified by:
        setResult in interface RequestFutureContext<T>
      • getXid

        public final Xid getXid()
        Description copied from interface: RequestContext
        Returns XID generated for this request.
        Specified by:
        getXid in interface RequestContext<T>
        Allocated XID, or null if the device has disconnected.