2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.cluster.access.client;
10 import org.eclipse.jdt.annotation.NonNull;
11 import org.eclipse.jdt.annotation.Nullable;
12 import org.opendaylight.controller.cluster.access.concepts.Response;
15 interface RequestCallback {
17 * Invoked when a particular request completes.
19 * @param response Response to the request
20 * @return Next client actor behavior
22 @Nullable ClientActorBehavior<?> complete(@NonNull Response<?, ?> response);