747093c4a5efece1ed5533f9048fdd5352140de1
[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 public class InsertionDelayChangedEvent {
10
11         private final int insertionDelay;
12
13         public InsertionDelayChangedEvent(int insertionDelay) {
14                 this.insertionDelay = insertionDelay;
15         }
16
17         public int getInsertionDelay() {
18                 return insertionDelay;
19         }
20
21 }