Protection for fixed or floating wharves