/// <summary> /// Creates a new instance of <see cref="GPCMClient"/> /// </summary> public GPCMServer(string serverName, DatabaseDriver databaseDriver, IPAddress address, int port) : base(serverName, address, port) { //GPCMHandler.DBQuery = new GPCMDBQuery(driver); DB = databaseDriver; _dbKeeper = new DBKeeper(databaseDriver); _dbKeeper.Run(); //KeepAliveManagement(); //PlayerStatusUpdate(); // Setup timer. Every 15 seconds should be sufficient // Set connection handling }
public GPSPServer(string serverName, DatabaseDriver databaseDriver, IPAddress address, int port) : base(serverName, address, port) { DB = databaseDriver; _dbKeeper = new DBKeeper(databaseDriver); _dbKeeper.Run(); }