/* * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.controller.cluster.access.commands; import org.opendaylight.controller.cluster.access.ABIVersion; import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier; /** * Successful reply to a {@link SkipTransactionsRequest}. */ // FIXME: rename to SkipTransactionsSuccess public final class SkipTransactionsResponse extends TransactionSuccess { @java.io.Serial private static final long serialVersionUID = 1L; private SkipTransactionsResponse(final SkipTransactionsResponse success, final ABIVersion version) { super(success, version); } public SkipTransactionsResponse(final TransactionIdentifier identifier, final long sequence) { super(identifier, sequence); } @Override protected STS externalizableProxy(final ABIVersion version) { return new STS(this); } @Override protected SkipTransactionsResponse cloneAsVersion(final ABIVersion version) { return new SkipTransactionsResponse(this, version); } }