Stop Sone rescuers when stopping core.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / event / InsertionDelayChangedEvent.java
1 package net.pterodactylus.sone.core.event;
2
3 import com.google.common.eventbus.EventBus;
4
5 /**
6  * Notifies interested {@link EventBus} clients that the Sone insertion delay
7  * has changed.
8  *
9  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
10  */
11 public class InsertionDelayChangedEvent {
12
13         private final int insertionDelay;
14
15         public InsertionDelayChangedEvent(int insertionDelay) {
16                 this.insertionDelay = insertionDelay;
17         }
18
19         public int getInsertionDelay() {
20                 return insertionDelay;
21         }
22
23 }