Integrated the EventManager into the SimpleAutoResponder
This commit is contained in:
parent
7c410dc1e5
commit
cc2bf61b1c
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user