Class ServerManager

java.lang.Object
it.polimi.ingsw.Server.ServerManager

public class ServerManager extends Object
Server management console
  • Field Details

  • Constructor Details

    • ServerManager

      public ServerManager()
  • Method Details

    • main

      public static void main(String[] args)
      Main method, welcoming Server management console
      Parameters:
      args - default arguments array
    • createLog

      private static void createLog()
    • manageLog

      private static void manageLog()
    • writeWarning

      public static void writeWarning(String msg)
      Outputs a Warning in Server's log (and terminalOutput)
      Parameters:
      msg - message
    • writeInfo

      public static void writeInfo(String msg)
      Outputs an informative message in Server's log (and terminalOutput)
      Parameters:
      msg - message
    • loadPersistentGames

      private static void loadPersistentGames()
    • SocketServer

      private static void SocketServer(String[] args)
    • RMIServer

      private static void RMIServer(String[] args)