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=4852888ec2500673a0dc41376bbfc132fcbc000d;hb=2a29f9ab006d8806f77b1a1e073b478e5351cc5f;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..4852888ec 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,11 @@ */ 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.rev210701.CancelResourceReserveInput; +import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev210701.CancelResourceReserveOutput; +import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev210701.PathComputationRequestInput; +import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.pce.rev210701.PathComputationRequestOutput; /** * Path Computation Service. @@ -23,14 +24,14 @@ public interface PathComputationService { * @param input CancelResourceReserveInput data * @return output CancelResourceReserveOutput data */ - CancelResourceReserveOutput cancelResourceReserve(CancelResourceReserveInput input); + ListenableFuture cancelResourceReserve(CancelResourceReserveInput input); /** - * Requests a path compuation. + * Requests a path computation. * * @param input PathComputationRequestInput data * @return output PathComputationRequestOutput data */ - PathComputationRequestOutput pathComputationRequest(PathComputationRequestInput input); + ListenableFuture pathComputationRequest(PathComputationRequestInput input); }