Class MainServer

java.lang.Object
crow.game.examples.pingpong.server.MainServer
All Implemented Interfaces:
Runnable

public class MainServer extends Object implements Runnable
This wraps the server into a runnable that can be run as a main entrypoint OR passed into a Thread.
See Also:
  • Field Details

    • logger

      public static final org.slf4j.Logger logger
  • Constructor Details

    • MainServer

      public MainServer()
  • Method Details

    • main

      public static void main(String[] args)
    • run

      public void run()
      Specified by:
      run in interface Runnable