Interface IGameRunner

All Known Implementing Classes:
RunGameInOwnJVM, RunGameInSameJVM

public interface IGameRunner
Interface for classes that can run/supervise a WebServer Game. Implemented by RunGameInOwnJVM and RunGameInSameJVM.
Author:
Clemens Katzer
  • Method Details

    • start

      void start()
    • makeRunningGame

      boolean makeRunningGame()
    • getHostingPort

      int getHostingPort()
    • getHostingHost

      String getHostingHost()
    • tryToStart

      boolean tryToStart()
    • waitUntilReadyToAcceptClients

      boolean waitUntilReadyToAcceptClients(int timeout)
      Waits until socket is up, i.e. game is ready to accept clients.
    • waitUntilGameStartedSuccessfully

      boolean waitUntilGameStartedSuccessfully(int timeout)