|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MasterMindGame
The Remote Interface for the ActivitySessions Sample - MasterMind
Method Summary | |
---|---|
boolean |
calculate(int[] guess)
This remote method is used to calculate the results of the latest guess. |
int[][] |
getGuessArray()
This remote method is used to return the array of guesses made so far. |
int |
getGuessNumber()
This remote method is used to return the number of guesses made so far. |
int[][] |
getResultsArray()
This remote method is used to return the array of Results. |
int[] |
getTarget()
This remote method is used to return the target array. |
void |
newGame()
This remote method is used to inform the bean that a new game has been requested. |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
boolean calculate(int[] guess) throws java.rmi.RemoteException
guess
- int [] Represents the most recent guess
java.rmi.RemoteException
- Signals that a RemoteException has occured.int[][] getGuessArray() throws java.rmi.RemoteException
java.rmi.RemoteException
- Signals that a RemoteException has occured.int getGuessNumber() throws java.rmi.RemoteException
java.rmi.RemoteException
- Signals that a RemoteException has occured.int[][] getResultsArray() throws java.rmi.RemoteException
java.rmi.RemoteException
- Signals that a RemoteException has occured.int[] getTarget() throws java.rmi.RemoteException
java.rmi.RemoteException
- Signals that a RemoteException has occured.void newGame() throws java.rmi.RemoteException
java.rmi.RemoteException
- Signals that a RemoteException has occured.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |