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

org.ggp.base.server.threads.PreviewRequestThread 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 PreviewRequestThread extends RequestThread
{
    public PreviewRequestThread(GameServer gameServer, Match match, Role role, String host, int port, String playerName)
    {
        super(gameServer, role, host, port, playerName, match.getPreviewClock() * 1000, RequestBuilder.getPreviewRequest(match.getGame().getRules(), match.getPreviewClock(), match.getGdlScrambler()));
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy