a picture says it so much easier. This is actually inside the slip to keep the bow from getting under the edge. Notice how the top of the pipe is cut at an angle to recess the lag bolt.
I hate going to someone's dock where you can't tie up in a way to protect your boat. No way to relax when you're watchin' out for rollers.