Added serverSocketChannel for game creation

This commit is contained in:
Lorenzo Iovino 2017-06-18 14:13:31 +02:00
parent 546e341433
commit 48705f7e76
30 changed files with 1787 additions and 606 deletions

View file

@ -0,0 +1,15 @@
package interfaces;
import models.Response;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
* Created by loke on 15/06/2017.
*/
public interface IAuth extends Remote {
Response login(String userName, String password) throws RemoteException;
Response register(String userName, String password) throws RemoteException;
Response logout(String userName, String token) throws RemoteException;
}

View file

@ -1,15 +0,0 @@
package interfaces;
import models.TTResponse;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
* Created by loke on 15/06/2017.
*/
public interface ITTAuth extends Remote {
TTResponse login(String userName, String password) throws RemoteException;
TTResponse register(String userName, String password) throws RemoteException;
TTResponse logout(String userName, String token) throws RemoteException;
}