Databases Reference
In-Depth Information
From this, we can see that the process supports two asynchronous operations, each
with a corresponding callback. They are:
initateAuction : This operation is used to instantiate the auction process.
Once started, the auction will run for a preset period until it gets completed
and then invoke the callback returnAuctionResult to return the result of the
auction to the client which initiated the auction.
submitBid : This operation is used to submit a bid to the auction. The
operation is responsible for checking each bid to see if we have a new highest
bid, and if so, it will update the current bid price appropriately, before
returning the result of the bid to the client. The process then loops back
round to process the next bid.
 
Search WWH ::




Custom Search