2 * Copyright (c) 2021 PANTHEON.tech, s.r.o. 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.commands;
10 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
13 * Externalizable proxy for use with {@link SkipTransactionsResponse}. It implements the initial (Phosphorus SR1)
14 * serialization format.
16 final class SkipTransactionsResponseProxyV1 extends AbstractTransactionSuccessProxy<SkipTransactionsResponse> {
17 private static final long serialVersionUID = 1L;
19 // checkstyle flags the public modifier as redundant however it is explicitly needed for Java serialization to
20 // be able to create instances via reflection.
21 @SuppressWarnings("checkstyle:RedundantModifier")
22 public SkipTransactionsResponseProxyV1() {
26 SkipTransactionsResponseProxyV1(final SkipTransactionsResponse success) {
31 protected SkipTransactionsResponse createSuccess(final TransactionIdentifier target, final long sequence) {
32 return new SkipTransactionsResponse(target, sequence);