Deprecate ABIVersion.MAGNESIUM
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / commands / AbstractTransactionRequestProxy.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.cluster.access.commands;
9
10 import org.opendaylight.controller.cluster.access.concepts.AbstractRequestProxy;
11 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
12
13 /**
14  * Abstract base class for serialization proxies associated with {@link TransactionRequest}s.
15  *
16  * @param <T> Message type
17  */
18 @Deprecated(since = "7.0.0", forRemoval = true)
19 abstract class AbstractTransactionRequestProxy<T extends TransactionRequest<T>>
20         extends AbstractRequestProxy<TransactionIdentifier, T> implements TransactionRequest.SerialForm<T> {
21     @java.io.Serial
22     private static final long serialVersionUID = 1L;
23
24     AbstractTransactionRequestProxy() {
25         // For Externalizable
26     }
27
28     AbstractTransactionRequestProxy(final T request) {
29         super(request);
30     }
31 }