All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ggp.base.server.threads.StartRequestThread Maven / Gradle / Ivy

The newest version!
package org.ggp.base.server.threads;

import org.ggp.base.server.GameServer;
import org.ggp.base.server.request.RequestBuilder;
import org.ggp.base.util.match.Match;
import org.ggp.base.util.statemachine.Role;


public final class StartRequestThread extends RequestThread
{
    public StartRequestThread(GameServer gameServer, Match match, Role role, String host, int port, String playerName)
    {
        super(gameServer, role, host, port, playerName, match.getStartClock() * 1000, RequestBuilder.getStartRequest(match.getMatchId(), role, match.getGame().getRules(), match.getStartClock(), match.getPlayClock(), match.getGdlScrambler()));
    }

    @Override
    protected void handleResponse(String response) {
        ;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy