Package controller

Class Publisher

java.lang.Object
controller.Publisher

public class Publisher extends Object
  • Constructor Details

    • Publisher

      public Publisher()
  • Method Details

    • register

      public void register(Event event, ServiceListener serviceListener)
      Register listeners to events
      Parameters:
      event - Event
      serviceListener - ServiceListener
    • notify

      public void notify(Event event, Coordinate coordinate)
      Notifies according to the event the listener.
      Parameters:
      event - Event
      coordinate - Coordinate