Module Casino
IDL source Global index
module Casino
The Casino Module holds all the interfaces for the Virtual Casino Project
- Bank
-
The interface used to simulate monetary transactions
- Category: Baseline (fulfills baseline requirements #1 & #5)
- Behavior: This interface supports methods to simulate the
buying and selling of gambling chips.
- Clients: Player
- 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
- Player
-
Callback interface for server(s) to "pull" from clients.
- Category: Baseline (fulfills requirement #8)
- Behavior: This interface provides the callback methods of a player.
The dealer leads the Blackjack game, and the players react to the
dealer's commands and requests. During the game client
and server roles are swapped.
- Inherits From:
- Clients: Dealer
- Tables
-
The set of gaming tables
- Category: Baseline (fulfills baseline requirment #4)
- Behavior: This interface supports methods to allow a player
to join a game at a virtual table.
- Clients: Player
- InsufficientChips
-
An exception meant to be raised when a player tries to buy bet
more chips than he/she has.
- InsufficientMoney
-
An exception meant to be raised when a player tries to buy chips
without enough fund on his/her credit card
- InvalidCredit
- A credit card information is poorly formed or non-existant
- InvalidPlayer
-
An exception raised to indicate that a non-existant player has been
passed to a method.
- InvalidPlayerID
-
An exception raised to indicate that a non-existant player has been
passed to a method.
- InvalidPlayerName
-
An exception raised to indicate that a poorly formed player name has been
passed to a method.
- InvalidSessionID
- A non-existant or impossible SessionID has been passed to a method
- no_more_tables
- The system is not able to provide a table for the player
to play at.
exception InsufficientChips {
short requested;
short balance;
};
-
An exception meant to be raised when a player tries to buy bet
more chips than he/she has.
- Author:
- Team5
- Version:
- 0.1
exception InsufficientMoney {
short requested;
short balance;
};
-
An exception meant to be raised when a player tries to buy chips
without enough fund on his/her credit card
- Author:
- Team5
- Version:
- 0.1
exception InvalidCredit {
short CreditCardInfoUsed;
};
- A credit card information is poorly formed or non-existant
exception InvalidPlayer {
Player playerUsed;
};
-
An exception raised to indicate that a non-existant player has been
passed to a method.
exception InvalidPlayerID {
long playerIDUsed;
};
-
An exception raised to indicate that a non-existant player has been
passed to a method.
exception InvalidPlayerName {
string playerName;
};
-
An exception raised to indicate that a poorly formed player name has been
passed to a method.
exception InvalidSessionID {
short idUsed;
};
- A non-existant or impossible SessionID has been passed to a method
exception no_more_tables {
};
- The system is not able to provide a table for the player
to play at.
Generated by Sandia idldoc 1.0.