Add new cds-access-api proxies
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / commands / ConnectClientSuccessProxyV1.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.AbstractSuccessProxy;
11 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
12
13 /**
14  * Externalizable proxy for use with {@link ConnectClientSuccess}. It implements the initial (Boron) serialization
15  * format.
16  *
17  * @author Robert Varga
18  */
19 final class ConnectClientSuccessProxyV1 extends AbstractSuccessProxy<ClientIdentifier, ConnectClientSuccess>
20         implements ConnectClientSuccess.SerialForm {
21     @java.io.Serial
22     private static final long serialVersionUID = 1L;
23
24     // checkstyle flags the public modifier as redundant however it is explicitly needed for Java serialization to
25     // be able to create instances via reflection.
26     @SuppressWarnings("checkstyle:RedundantModifier")
27     public ConnectClientSuccessProxyV1() {
28         // For Externalizable
29     }
30
31     ConnectClientSuccessProxyV1(final ConnectClientSuccess success) {
32         super(success);
33     }
34 }