/*
- * Copyright (c) 2014 Dell Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2015 Dell 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,
*/
package org.opendaylight.controller.cluster.raft.messages;
+import akka.dispatch.ControlMessage;
+
/**
- * Local message sent to self on receiving InstallSnapshotReply from a follower, this message indicates that
- * the catchup of the follower is done succesfully during AddServer scenario
+ * Local message sent to self on receiving the InstallSnapshotReply from a follower indicating that
+ * the catch up of the follower has completed successfully for an AddServer operation.
*/
-public class UnInitializedFollowerSnapshotReply {
+public class UnInitializedFollowerSnapshotReply implements ControlMessage {
private final String followerId;
- public UnInitializedFollowerSnapshotReply(String follId){
- this.followerId = follId;
+ public UnInitializedFollowerSnapshotReply(String followerId) {
+ this.followerId = followerId;
}
+
public String getFollowerId() {
return followerId;
}
+
+ @Override
+ public String toString() {
+ return "UnInitializedFollowerSnapshotReply [followerId=" + followerId + "]";
+ }
}