-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathServerInterface4.java
28 lines (21 loc) · 1.2 KB
/
ServerInterface4.java
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
//package RMI;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface ServerInterface4 extends Remote {
public String displayword() throws FileNotFoundException, RemoteException;
public StringBuffer makeDashes(String s)throws RemoteException;
public String displayguesses(String guesses)throws RemoteException;
public String counterCheck(int a)throws RemoteException;;
public StringBuffer returndashes(StringBuffer dashes)throws RemoteException;
public Boolean checkwithwordselected(String guess)throws RemoteException;
public String goodbadguesscheck(char letter,String guesses,StringBuffer dashes) throws IOException,RemoteException;
public int displaychances(int chances)throws RemoteException;
public String scoreandword()throws RemoteException;
public Boolean wonthegame(StringBuffer dashes)throws RemoteException;
public String returnscore()throws RemoteException;
public Boolean returndone()throws RemoteException;
public int putscore(int score,int index)throws RemoteException;
public String comparescore()throws RemoteException;
}