Integrated the EventManager into the SimpleAutoResponder

This commit is contained in:
mathias 2021-10-01 20:05:17 +02:00
parent 7c410dc1e5
commit cc2bf61b1c
No known key found for this signature in database
GPG Key ID: 8950DF62139C852A

View File

@ -2,6 +2,7 @@ package de.gnmyt.autoresponder;
import com.sun.net.httpserver.HttpServer;
import de.gnmyt.autoresponder.authentication.AuthenticationDetails;
import de.gnmyt.autoresponder.event.api.EventManager;
import de.gnmyt.autoresponder.exceptions.ResponderException;
import java.io.IOException;
@ -9,6 +10,8 @@ import java.net.InetSocketAddress;
public class SimpleAutoResponder {
private final EventManager eventManager = new EventManager();
private HttpServer httpServer;
private AuthenticationDetails authenticationDetails;
@ -61,4 +64,12 @@ public class SimpleAutoResponder {
return this;
}
/**
* Gets the event manager
*
* @return the event manager
*/
public EventManager getEventManager() {
return eventManager;
}
}