1bd37fb83c18b8cb5cf7f89ef4ce076c252140ed
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / commands / AbstractLocalHistoryRequestProxy.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.LocalHistoryIdentifier;
12
13 /**
14  * Abstract base class for serialization proxies associated with {@link LocalHistoryRequest}s.
15  *
16  * @author Robert Varga
17  *
18  * @param <T> Message type
19  */
20 abstract class AbstractLocalHistoryRequestProxy<T extends LocalHistoryRequest<T>>
21         extends AbstractRequestProxy<LocalHistoryIdentifier, T> implements LocalHistoryRequest.SerialForm<T> {
22     @java.io.Serial
23     private static final long serialVersionUID = 1L;
24
25     protected AbstractLocalHistoryRequestProxy() {
26         // For Externalizable
27     }
28
29     AbstractLocalHistoryRequestProxy(final T request) {
30         super(request);
31     }
32 }