Use a real RequestClient instead of casting the HLSC
[Sone.git] / src / main / java / net / pterodactylus / sone / fcp / event / FullAccessRequiredChanged.java
1 package net.pterodactylus.sone.fcp.event;
2
3 import net.pterodactylus.sone.fcp.FcpInterface;
4 import net.pterodactylus.sone.fcp.FcpInterface.FullAccessRequired;
5
6 /**
7  * Event that signals that the {@link FcpInterface}’s {@link
8  * FullAccessRequired} parameter was changed in the configuration.
9  */
10 public class FullAccessRequiredChanged {
11
12         private final FullAccessRequired fullAccessRequired;
13
14         public FullAccessRequiredChanged(FullAccessRequired fullAccessRequired) {
15                 this.fullAccessRequired = fullAccessRequired;
16         }
17
18         public FullAccessRequired getFullAccessRequired() {
19                 return fullAccessRequired;
20         }
21
22 }