Skip to content
Snippets Groups Projects
Select Git revision
  • 38aee1e54d260304033468bbf4ce2d2e2fea4d8c
  • master default protected
  • hai
  • isaac
  • CheHao
  • Eldar
  • mpriymak
  • master-before-merging-with-hai
  • master-before-merging-with-isaac
  • rmi-working-before-merging-with-isaac
  • all-code-merged-by-hai-v1
11 results

PaintGUI.java

Blame
  • 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;
    }