package main;
import network.NetworkManager;
import queries.QueryManager;
import connection.ConnectionManager;
import files.FileManager;
public final class ServerMain
{
private static ConnectionManager connectionManager;
private static NetworkManager networkManager;
private static FileManager fileManager;
private static QueryManager searchManager;
public static void main(String[] args)
{
fileManager = new FileManager();
searchManager = new QueryManager();
connectionManager = new ConnectionManager();
networkManager = new NetworkManager();
System.out.println("Sillian server started");
connectionManager.listen();
System.out.println("listening");
}
public static ConnectionManager getConnectionManager()
{
return connectionManager;
}
public static NetworkManager getNetworkManager()
{
return networkManager;
}
public static FileManager getFileManager()
{
return fileManager;
}
public static QueryManager getQueryManager()
{
return searchManager;
}
}