Added serverSocketChannel for game creation
This commit is contained in:
parent
546e341433
commit
48705f7e76
30 changed files with 1787 additions and 606 deletions
15
Commons/src/interfaces/IAuth.java
Normal file
15
Commons/src/interfaces/IAuth.java
Normal 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;
|
||||
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue