|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
RMI Interface for controlling Monrovia.
Method Summary | |
void |
addPlayer(Player pPlayer)
Add new player. |
java.lang.String |
getPlayerCreatureImpl()
Get the default player creature implementing class. |
boolean |
hasPlayer(java.lang.String pName,
boolean pInDisk)
Returns true, if there is a player with the name specified. |
void |
removePlayer(java.lang.String pName,
boolean pFromDisk)
Remove a player. |
void |
shutdown()
Shutdown for the server. |
Method Detail |
public java.lang.String getPlayerCreatureImpl() throws java.rmi.RemoteException
public void addPlayer(Player pPlayer) throws java.rmi.RemoteException, StorageException
pPlayer
- The new playerpublic boolean hasPlayer(java.lang.String pName, boolean pInDisk) throws java.rmi.RemoteException
pName
- Name of the player to querypInDisk
- If true, check also the diskpublic void removePlayer(java.lang.String pName, boolean pFromDisk) throws java.rmi.RemoteException, StorageException
pName
- Name of the player to removepFromDisk
- If true, the player is removed from the disk alsoStorageException
- When the player does not existpublic void shutdown() throws java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |