A system that manages
parking
lots by keeping track of how many spaces are available in lots and
recommends other lots when the lot a driver is at is full
Attributes
- carCount
– Number of cars in a lot
- capacity
– Number of parking spaces in a lot
- distance
– Distance between two lots
- carCount
(Level) – Number of Cars in a level
- capacity
(Level) – Number of parking spaces on
a level
Exceptions
- AlreadyInLotException:
Client is already in a lot
- AtBottomLevelException: Car
cannot move to a lower level because it's on the bottom floor
- AtTopLevelException: Car
cannot move to a higher level because it's on the top floor
- InvalidClientException: Thrown
when the client ID is not known by the system
- LotFullException: System
throws exception when the lot is full
- LotNotFoundException:
Lot number not found in the database
- NotInLotException:
Client's car is not in the lot
- NotOnExitLevelException:
Client is not on an exit level in the lot
- ServiceUnavailableException: Exception
that gets thrown when an unrecoverable database exception or
some other error prevents the server from successfully completing a
client-requested operation
Servers and
Ports
Database
girltalk:13306 for MySQL; this makes the --jdbc-url parameter equal to jdbc:mysql://girltalk:13306/ece749_team6
Middle Tier
go:7779 for IIOP
chess:7779 for IIOP
Replication Manager
boggle: 7780 for IIOP
Naming Service
boggle:7777 for
bootstrap and 7778 for IIOP