X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=pce%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Fpce%2Fservice%2FPathComputationService.java;h=72f7615089ac48c64cecea7951f804dbe5da0522;hb=a05bba4c09700f9e2bc0520d5de384477abd0107;hp=88f372a40951c4411561e5f13376913c94fa966a;hpb=0779ad5796bb645690874959c9a891c42e2f7175;p=transportpce.git diff --git a/pce/src/main/java/org/opendaylight/transportpce/pce/service/PathComputationService.java b/pce/src/main/java/org/opendaylight/transportpce/pce/service/PathComputationService.java index 88f372a40..72f761508 100644 --- a/pce/src/main/java/org/opendaylight/transportpce/pce/service/PathComputationService.java +++ b/pce/src/main/java/org/opendaylight/transportpce/pce/service/PathComputationService.java @@ -7,10 +7,12 @@ */ package org.opendaylight.transportpce.pce.service; -import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev171017.CancelResourceReserveInput; -import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev171017.CancelResourceReserveOutput; -import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev171017.PathComputationRequestInput; -import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev171017.PathComputationRequestOutput; +import com.google.common.util.concurrent.ListenableFuture; + +import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev190624.CancelResourceReserveInput; +import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev190624.CancelResourceReserveOutput; +import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev190624.PathComputationRequestInput; +import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev190624.PathComputationRequestOutput; /** * Path Computation Service. @@ -23,7 +25,7 @@ public interface PathComputationService { * @param input CancelResourceReserveInput data * @return output CancelResourceReserveOutput data */ - CancelResourceReserveOutput cancelResourceReserve(CancelResourceReserveInput input); + ListenableFuture cancelResourceReserve(CancelResourceReserveInput input); /** * Requests a path compuation. @@ -31,6 +33,6 @@ public interface PathComputationService { * @param input PathComputationRequestInput data * @return output PathComputationRequestOutput data */ - PathComputationRequestOutput pathComputationRequest(PathComputationRequestInput input); + ListenableFuture pathComputationRequest(PathComputationRequestInput input); }