-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUserInterface.java
More file actions
30 lines (21 loc) · 1017 Bytes
/
Copy pathUserInterface.java
File metadata and controls
30 lines (21 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Vector;
import java.util.*;
import java.awt.Point;
import java.awt.Color;
import java.awt.image.BufferedImage;
public interface UserInterface extends Remote{
public int getId()throws RemoteException;
public void updateId(int id) throws RemoteException;
public byte[] getInitial() throws RemoteException;
public String getNameUser() throws RemoteException;
public void setNameUser(String name)throws RemoteException;
public String getColor()throws RemoteException;
public void addUser(Remote u)throws RemoteException;
public void removeUser(int id)throws RemoteException;
public void broadcast(String msg) throws RemoteException;
public void broadcast(String operation ,Vector<Point> list,Color c) throws RemoteException;
public void notify(String msg, UserInterface from) throws RemoteException;
public void notify(String operation, Vector<Point> list,Color c) throws RemoteException;
}