BUG-5280: add AbstractClientConnection
[controller.git] / opendaylight / md-sal / cds-access-client / src / main / java / org / opendaylight / controller / cluster / access / client / RequestCallback.java
index 4d81ce0cbf1c52f54711c38da242727c337f08db..90af8cb2e11dfc0bc0f939901af3c73555d7a457 100644 (file)
@@ -12,12 +12,12 @@ import javax.annotation.Nullable;
 import org.opendaylight.controller.cluster.access.concepts.Response;
 
 @FunctionalInterface
-public interface RequestCallback {
+interface RequestCallback {
     /**
      * Invoked when a particular request completes.
      *
      * @param response Response to the request
      * @return Next client actor behavior
      */
-    @Nullable ClientActorBehavior complete(@Nonnull Response<?, ?> response);
+    @Nullable ClientActorBehavior<?> complete(@Nonnull Response<?, ?> response);
 }