/* * Copyright (c) 2017 Cisco 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, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.controller.remote.rpc.registry.gossip; import akka.actor.Address; import com.google.common.collect.ImmutableMap; import java.io.Serializable; import java.util.Map; final class GossipStatus implements Serializable { private static final long serialVersionUID = 1L; private final Map versions; private final Address from; GossipStatus(final Address from, final Map versions) { this.versions = ImmutableMap.copyOf(versions); this.from = from; } Address from() { return from; } Map versions() { return versions; } }