Made eventhandlers for  Port class events