Package alpine.notification
Interface Subscriber
public interface Subscriber
All subscribers need to implement this interface. Subscribers are informed
of events they are subscribed to via the inform method.
- Since:
- 1.3.0
- Author:
- Steve Springett
-
Method Summary
Modifier and TypeMethodDescriptionvoidinform(Notification notification) Defines a method to inform subscribers who implement this interface.
-
Method Details
-
inform
Defines a method to inform subscribers who implement this interface.- Parameters:
notification- the Event to subscribe to- Since:
- 1.3.0
-