Class GameServerSideTestAccess

    • Field Detail

      • LOGGER

        private static final java.util.logging.Logger LOGGER
      • localClients

        private final java.util.HashMap<java.lang.String,​Client> localClients
      • gameUpMutex

        private final java.lang.Object gameUpMutex
    • Constructor Detail

      • GameServerSideTestAccess

        public GameServerSideTestAccess​(WhatNextManager whatNextMgr,
                                        Options serverOptions,
                                        Variant variant)
        The normal constructor to be used everywhere
        Parameters:
        whatNextMgr - A WhatNextManager object which manages the main control flow which thing to do 'next' when this game is over.
        serverOptions - The server side options, initialized from the GetPlayers dialog and/or command line options.
        variant - Variant of this game
    • Method Detail

      • showLocalClients

        public void showLocalClients()
      • getClientForName

        public Client getClientForName​(java.lang.String name)
      • clearLastGame

        public static void clearLastGame()
      • waitThatGameComesUp

        public void waitThatGameComesUp()
      • waitThatGameIsCompleted

        public void waitThatGameIsCompleted()