a substantial sea-wall had then been constructed almost entirely encasing the entire cove , but leaving two entrances , one either side of the jetty , created two harbours , one civilian and one military .