Commit 7a0ee393 authored by Mamadou Diallo's avatar Mamadou Diallo
Browse files

Ajout du modéle

parent f45afbb5
package fr.univnantes.alma.handler;
import fr.univnantes.alma.common.GameJoinRequest;
import fr.univnantes.alma.core.InvalidOperationException;
import fr.univnantes.alma.thrift.GameNotFound;
import fr.univnantes.alma.thrift.GameServerService;
import fr.univnantes.alma.thrift.JoinRequest;
......@@ -9,6 +10,8 @@ import org.apache.thrift.TException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
public class GameServiceHandler implements GameServerService.Iface {
......@@ -26,4 +29,23 @@ public class GameServiceHandler implements GameServerService.Iface {
return service.join(gameId, new GameJoinRequest());
}
@Override
public CrossPlatformResource get(int id) throws InvalidOperationException, TException {
return null;
}
@Override
public List<CrossPlatformResource> getList() throws InvalidOperationException, TException {
return null;
}
@Override
public boolean ping() throws InvalidOperationException, TException {
return false;
}
@Override
public void save(CrossPlatformResource resource) throws InvalidOperationException, TException {
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment