X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=pce%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Fpce%2Fservice%2FPathComputationService.java;h=95cd187230fcb77d9c9367534647bda0fd7f0c5b;hb=4378fca1d31d1f75c0480c752aa711fb885e6135;hp=88f372a40951c4411561e5f13376913c94fa966a;hpb=abb6dfc9107e5aa337a51143bcbf7f1393b3c8ce;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..95cd18723 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.rev200128.CancelResourceReserveInput; +import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev200128.CancelResourceReserveOutput; +import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev200128.PathComputationRequestInput; +import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev200128.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); }