X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fraft%2Fmessages%2FUnInitializedFollowerSnapshotReply.java;h=ff11ca0317ce9f8adae08ba2751bd4609bb8603e;hb=HEAD;hp=50f20705ca2e1d94eb3bf3707f04ed9efbf93149;hpb=4e186d6e4a9c84482dc74aee353e12a12f6728a7;p=controller.git diff --git a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/UnInitializedFollowerSnapshotReply.java b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/UnInitializedFollowerSnapshotReply.java index 50f20705ca..ff11ca0317 100644 --- a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/UnInitializedFollowerSnapshotReply.java +++ b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/UnInitializedFollowerSnapshotReply.java @@ -1,5 +1,5 @@ /* - * 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, @@ -7,17 +7,25 @@ */ 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 + "]"; + } }