Class Server

java.lang.Object
it.polimi.ingsw.server.Server
All Implemented Interfaces:
java.lang.Runnable

public class Server
extends java.lang.Object
implements java.lang.Runnable
Server of the game.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int SOCKET_PORT  
  • Constructor Summary

    Constructors 
    Constructor Description
    Server()  
  • Method Summary

    Modifier and Type Method Description
    static void main​(java.lang.String[] args)  
    void run()  

    Methods inherited from class java.lang.Object

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

  • Constructor Details

  • Method Details

    • main

      public static void main​(java.lang.String[] args)
    • run

      public void run()
      Specified by:
      run in interface java.lang.Runnable