Interface Casino::Floor
IDL source Global index
interface Floor
The "floor" of the casino, containing many tables
- Category: Baseline (fulfills requirement #1)
- Behavior: This interface is the main entrance into the casino.
- Inherits From:
- Exceptions: CORBA System exceptions
- Clients: Player
- Author:
- team5
- Version:
- 0.2
- getBank
-
The player requests the Bank interface.
- Category: Baseline
- Behavior: A player client uses this method to get the interface
for banking allowing him/her to buy and sell chips.
- Clients: Player
- getTables
-
The player requests the Tables interface.
- Category: Baseline
- Behavior: A player client uses this method to get the interface
to allow him/her to join a game
- Clients: Player
- register
-
The new or returning player registers with the system to start
- Category: Baseline
- Behavior: A player client uses this method to register for
a session at the casino server.
- Clients: Player
- unregister
-
The player asks to leave the game.
- Category: Baseline
- Behavior: A player client uses this method to unregister for a session
from the casino server.
- Clients: Player
Bank getBank(in long playerID)
raises(InvalidPlayerID);
-
The player requests the Bank interface.
- Category: Baseline
- Behavior: A player client uses this method to get the interface
for banking allowing him/her to buy and sell chips.
- Clients: Player
- Returns:
- Bank The Banking interface.
- Parameters:
- playerID The player's ID number gotten at registration.
- Raises:
- InvalidPlayer
Tables getTables(in long playerID)
raises(InvalidPlayerID);
-
The player requests the Tables interface.
- Category: Baseline
- Behavior: A player client uses this method to get the interface
to allow him/her to join a game
- Clients: Player
- Returns:
- Bank The Tables interface.
- Parameters:
- playerID The player's ID number gotten at registration.
- Raises:
- InvalidPlayerID
long register(in string playerName)
raises(InvalidPlayerName, InvalidPlayerID);
-
The new or returning player registers with the system to start
- Category: Baseline
- Behavior: A player client uses this method to register for
a session at the casino server.
- Clients: Player
- Returns:
- long The player's ID number
- Parameters:
- playerName The client's Player interface.
- Raises:
- InvalidPlayer
void unregister(in long playerID)
raises(InvalidPlayerID);
-
The player asks to leave the game.
- Category: Baseline
- Behavior: A player client uses this method to unregister for a session
from the casino server.
- Clients: Player
- Returns:
- void
- Parameters:
- playerID The client's Player interface.
- Raises:
- InvalidPlayerID
Generated by Sandia idldoc 1.0.