Deputy harbor masters shall have all the powers and perform all the duties of harbor masters in the respective harbors for which they are appointed, subject to the control and direction of the harbor masters.