/** * Try to reconnect to a started server. */ protected synchronized void reconnectServerProcess() { if(this.requiredState != InternalState.SERVER_STARTED) { ROOT_LOGGER.reconnectingServer(serverName); this.requiredState = InternalState.SERVER_STARTED; internalSetState(new ReconnectTask(), InternalState.STOPPED, InternalState.SEND_STDIN); } }