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.concepts;
10 import com.google.common.annotations.Beta;
11 import org.eclipse.jdt.annotation.NonNull;
12 import org.opendaylight.controller.cluster.access.ABIVersion;
13 import org.opendaylight.yangtools.concepts.WritableIdentifier;
16 * A successful reply to a {@link Request}.
18 * @author Robert Varga
20 * @param <T> Target identifier type
23 public abstract class RequestSuccess<T extends WritableIdentifier, C extends RequestSuccess<T, C>> extends
25 private static final long serialVersionUID = 1L;
27 protected RequestSuccess(final @NonNull C success, final @NonNull ABIVersion version) {
28 super(success, version);
31 protected RequestSuccess(final @NonNull T target, final long sequence) {
32 super(target, sequence);
36 protected abstract AbstractSuccessProxy<T, C> externalizableProxy(ABIVersion version);