BUG-5280: handle TransactionPurgeRequest replay
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / databroker / actors / dds / GetClientRequest.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.databroker.actors.dds;
9
10 import akka.actor.ActorRef;
11 import com.google.common.base.Preconditions;
12
13 /**
14  * Request the ClientIdentifier from a particular actor. Response is an instance of {@link DataStoreClient}.
15  *
16  * @author Robert Varga
17  */
18 final class GetClientRequest {
19     private final ActorRef replyTo;
20
21     GetClientRequest(final ActorRef replyTo) {
22         this.replyTo = Preconditions.checkNotNull(replyTo);
23     }
24
25     ActorRef getReplyTo() {
26         return replyTo;
27     }
28 }