org.opendaylight.jsonrpc.provider.cluster.messages.MountPointResponse Maven / Gradle / Ivy
/*
* Copyright (c) 2020 Lumina Networks, Inc. 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.jsonrpc.provider.cluster.messages;
import akka.actor.ActorRef;
import java.io.Serializable;
/**
* Sent by master to slave in response to {@link MountPointRequest}.
*
* @author Richard Kosegi
* @since Jul 11, 2020
*/
public class MountPointResponse implements Serializable {
private static final long serialVersionUID = 1L;
private ActorRef masterActorRef;
public MountPointResponse(ActorRef masterActorRef) {
this.masterActorRef = masterActorRef;
}
public ActorRef getMasterActorRef() {
return masterActorRef;
}
@Override
public String toString() {
return "MountPointResponse [masterActorRef=" + masterActorRef + "]";
}
}