BUG 2817 - Basic implementation of RemoveServer in the Raft code
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / messages / UnInitializedFollowerSnapshotReply.java
1 /*
2  * Copyright (c) 2015 Dell 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.raft.messages;
9
10 /**
11  * Local message sent to self on receiving InstallSnapshotReply from a follower, this message indicates that
12  * the catchup of the follower is done succesfully during AddServer scenario
13  */
14 public class  UnInitializedFollowerSnapshotReply {
15     private final String followerId;
16
17     public UnInitializedFollowerSnapshotReply(String followerId){
18        this.followerId = followerId;
19     }
20
21     public String getFollowerId() {
22         return followerId;
23     }
24
25     @Override
26     public String toString() {
27         return "UnInitializedFollowerSnapshotReply [followerId=" + followerId + "]";
28     }
29 }