package be.demmel.jgws.rmi;

import java.net.InetSocketAddress;

public class GameServerImpl implements GameServer {
    private GameServerPortal gameServerPortal;
    private InetSocketAddress hostAndPort;

    public GameServerImpl(GameServerPortal gameServerPortal, InetSocketAddress hostAndPort) {
        this.gameServerPortal = gameServerPortal;
        this.hostAndPort = hostAndPort;
    }

    @Override
    public GameServerPortal getGameServerPortal() {
        return this.gameServerPortal;
    }

    @Override
    public InetSocketAddress getHostAndPort() {
        return this.hostAndPort;
    }
}
