Package controller
Class Publisher
java.lang.Object
controller.Publisher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
notify
(Event event, Coordinate coordinate) Notifies according to the event the listener.void
register
(Event event, ServiceListener serviceListener) Register listeners to events
-
Constructor Details
-
Publisher
public Publisher()
-
-
Method Details
-
register
Register listeners to events- Parameters:
event
- EventserviceListener
- ServiceListener
-
notify
Notifies according to the event the listener.- Parameters:
event
- Eventcoordinate
- Coordinate
-