blob: 7d0bac19a5f1a93930a80cf27edce978a8c4e5c7 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package io.v.v23.rpc;
import lombok.Value;
import lombok.experimental.Accessors;
@Accessors(prefix = "m")
@Value
public class PublisherEntryKey {
String mName, mServer;
public static PublisherEntryKey fromPublisherEntry(final PublisherEntry m) {
return new PublisherEntryKey(m.getName(), m.getServer());
}
}