aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java
public static boolean areSameEndpoints(final ClusterMember lhs, final ClusterMember rhs)
    {
        return lhs.clientFacingEndpoint().equals(rhs.clientFacingEndpoint()) &&
            lhs.memberFacingEndpoint().equals(rhs.memberFacingEndpoint()) &&
            lhs.logEndpoint().equals(rhs.logEndpoint()) &&
            lhs.transferEndpoint().equals(rhs.transferEndpoint()) &&
            lhs.archiveEndpoint().equals(rhs.archiveEndpoint());
    }
public static boolean areSameEndpoints(final ClusterMember lhs, final ClusterMember rhs)
    {
        return lhs.clientFacingEndpoint().equals(rhs.clientFacingEndpoint()) &&
            lhs.memberFacingEndpoint().equals(rhs.memberFacingEndpoint()) &&
            lhs.logEndpoint().equals(rhs.logEndpoint()) &&
            lhs.transferEndpoint().equals(rhs.transferEndpoint()) &&
            lhs.archiveEndpoint().equals(rhs.archiveEndpoint());
    }
public static boolean areSameEndpoints ( final ClusterMember lhs , final ClusterMember rhs ) { return lhs . clientFacingEndpoint ( ) . equals ( rhs . clientFacingEndpoint ( ) ) && lhs . memberFacingEndpoint ( ) . equals ( rhs . memberFacingEndpoint ( ) ) && lhs . logEndpoint ( ) . equals ( rhs . logEndpoint ( ) ) && lhs . transferEndpoint ( ) . equals ( rhs . transferEndpoint ( ) ) && lhs . archiveEndpoint ( ) . equals ( rhs . archiveEndpoint ( ) ) ; }
Are two cluster members using the same endpoints?

@param lhs to check
@param rhs to check
@return true if both are using the same endpoints or false if not.
Are two cluster members using the same endpoints?