The dispatch Thursday in Iran is the first public word that navy officers of both countries were present in Sri Lanka earlier this month in discussions on fighting piracy in the Gulf of Aden .