use of akka.cluster.ClusterEvent.ReachableMember in project controller by opendaylight.
the class MockClusterWrapper method createReachableMember.
public static ReachableMember createReachableMember(final String memberName, final String address) {
UniqueAddress uniqueAddress = new UniqueAddress(AddressFromURIString.parse(address), 55L);
Member member = new Member(uniqueAddress, 1, MemberStatus.up(), setOf(memberName));
return new ReachableMember(member);
}
Aggregations