X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Feos-dom-akka%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Feos%2Fakka%2Fowner%2Fchecker%2Fcommand%2FStateCheckerRequest.java;fp=opendaylight%2Fmd-sal%2Feos-dom-akka%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Feos%2Fakka%2Fowner%2Fchecker%2Fcommand%2FStateCheckerRequest.java;h=62be328891ca69ea1ec930f868bcd8d220f3af43;hp=0000000000000000000000000000000000000000;hb=1adec580405aafae353f8b0b3a5a0f474a05c6c0;hpb=f2868cf8e1ddc85ec1128199ed2607922ea74c24 diff --git a/opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/StateCheckerRequest.java b/opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/StateCheckerRequest.java new file mode 100644 index 0000000000..62be328891 --- /dev/null +++ b/opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/StateCheckerRequest.java @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2021 PANTHEON.tech, s.r.o. 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.eos.akka.owner.checker.command; + +import static java.util.Objects.requireNonNull; + +import akka.actor.typed.ActorRef; +import java.io.Serializable; +import org.eclipse.jdt.annotation.NonNull; + +public abstract class StateCheckerRequest extends StateCheckerCommand + implements Serializable { + private static final long serialVersionUID = 1L; + + private final @NonNull ActorRef replyTo; + + StateCheckerRequest(final ActorRef replyTo) { + this.replyTo = requireNonNull(replyTo); + } + + public final @NonNull ActorRef getReplyTo() { + return replyTo; + } +}