Package hoverball

Class Server

java.lang.Object
hoverball.Server

public final class Server
extends java.lang.Object
The server runs several simulators with a hash table.

If a client connects to the server with a hash key, it is connected to the corresponding simulator. If the hash key does not yet exist, a new simulator is created.

If a client connects to the server without a hash key, a new simulator is created with a random hash key.

If all clients are disconnected from a simulator of the server, the simulator destroys.

  • Constructor Summary

    Constructors 
    Constructor Description
    Server()  
  • Method Summary

    Modifier and Type Method Description
    static void main​(java.lang.String[] args)
    Runs the Server (application!).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • main

      public static void main​(java.lang.String[] args)
      Runs the Server (application!).