Team #4

18-749: Fault-Tolerant Distributed Systems
Spring 2006

 

 

Team #4: EJBay

18-749: Fault-Tolerant Distributed Systems
Spring 2006

 

Home

Interfaces and Architecture

Fault Tolerant Baseline

High Performance

Downloads

Design

 

Methods

Account Service

S. No.

Method Name

Input Parameters

Exception

Return Value

Description

1

 

AcctCreate

UserInfo userObj

·      Duplicate Account

·      Invalid User Info

void

This method creates an account for the client using the information that is passed via the UserInfo structure.

2

AcctLogin

UserInfo userObj

·      Invalid ID/Pswd

Session Key

This method checks the username and password from the passed in UserInfo structure and creates a session key.

3

AcctUpdate

UserInfo userObj

Session Key

·      Invalid User Info

·      User Not Logged In

void

This method updates a user’s account information after validating his session using the Session Key, that is also passed in.

4

AccLogout

Session key

·       

void

This method logs the client out of the system, and invalidates the Session Key.

5

AcctDelete

UserInfo userObj

Session Key

·      Invalid ID/Pswd

·      Invalid User Info

void

This method deletes information associated with the user account after validating the Session Key.

6

AcctView

UserInfo userObj

·      Invalid User Info

UserInfo userObj

This method allows the ser to view data about themselves which is located on the server.

 

Auction Service

1

AuctionPost

Auction aucObj

·      Invalid auctionInfo

·      User Not Logged In

Void

This method allows a user to post auctions with specific information about the product.

2

AuctionView

String AuctionID

·      Invalid Auction

Auction aucObj

This method allows a user to retrieve a specific auction with a given AuctionID string.

3

AuctionSearch

String name

·      Invalid Auction

Auction list aucObj

This method searches the auction titles and returns a list of top 10 hits.

4

BidPost

Auction ID

Double MaxBid

·      Invalid Auction

·      Bid too low

·      User Not Logged In

Auction aucObj

This method allows a user to place a bid on an auction and returns an Auction class to reflect the change.

5

BidHistory

Auction ID

·      Invalid Auction

Bid list

This method retrieves a list of bids placed on a specific auction, specified by the AuctionID.

            Note: All methods also throw the RemoteException

Classes