X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fcds-access-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Faccess%2Fcommands%2FPurgeLocalHistoryRequestProxyV1.java;fp=opendaylight%2Fmd-sal%2Fcds-access-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Faccess%2Fcommands%2FPurgeLocalHistoryRequestProxyV1.java;h=0aaac6e32a672ca0715523d1b92bc9cfa6c36321;hb=98d1c5606bad9633ce5549bcd691a98c75abdf6a;hp=0000000000000000000000000000000000000000;hpb=e6b9c7e282a526aeb1469b6f7aa9b61f69d01743;p=controller.git diff --git a/opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/PurgeLocalHistoryRequestProxyV1.java b/opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/PurgeLocalHistoryRequestProxyV1.java new file mode 100644 index 0000000000..0aaac6e32a --- /dev/null +++ b/opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/PurgeLocalHistoryRequestProxyV1.java @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2016 Cisco Systems, Inc. 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 akka.actor.ActorRef; +import org.opendaylight.controller.cluster.access.concepts.LocalHistoryIdentifier; + +/** + * Externalizable proxy for use with {@link PurgeLocalHistoryRequest}. It implements the initial (Boron) serialization + * format. + * + * @author Robert Varga + */ +final class PurgeLocalHistoryRequestProxyV1 extends AbstractLocalHistoryRequestProxy { + private static final long serialVersionUID = 1L; + + public PurgeLocalHistoryRequestProxyV1() { + // For Externalizable + } + + PurgeLocalHistoryRequestProxyV1(final PurgeLocalHistoryRequest request) { + super(request); + } + + @Override + protected PurgeLocalHistoryRequest createRequest(final LocalHistoryIdentifier target, final ActorRef replyTo) { + return new PurgeLocalHistoryRequest(target, replyTo); + } +}