Select Git revision
PaintGUI.java
IClientController.java 768 B
package remote;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface IClientController extends Remote
{
enum Action {KICKOUT, ASSIGNADMIN};
boolean join(String username, IChatUpdate clientChat, IClientUpdate clientUpdate, IDrawingUpdate clientDrawing, IEncryptionUpdate encryptionUpdate) throws RemoteException;
void quit(String username) throws RemoteException;
boolean assignAdmin(String oldAdmin, String newAdmin) throws RemoteException;
boolean kickUser(String username, String who) throws RemoteException;
boolean broadcastManagerMessage(String toClient, Action action) throws RemoteException;
String getAdmin() throws RemoteException;
boolean checkPassword(String password) throws RemoteException;
}