concept auction in category osgi

This is an excerpt from Manning's book OSGi in Depth.
In an auction, sellers offer goods by asking a price. Conversely, buyers bid for these goods, offering their own prices that they’re willing to pay. The sellers and buyers of an action are called the auction participants. The institution that performs the auction is the auctioneer.
The main class of the auction application is the Auction class:
package manning.osgi.auction; public interface Auction { Float ask(String item, float price, Participant seller) throws InvalidOfferException; Float bid(String item, float price, Participant buyer) throws InvalidOfferException; }A seller invokes the ask method to inform the participants that the seller wishes to sell item for the given price. The return value depends on the type of the auction. If it’s an open auction, the ask method returns the highest available bid for the item being asked or null if no bidders for this item exist or if it’s a sealed auction.
Conversely, a buyer invokes the bid method to inform the participants that the buyer wishes to buy item with the given price. If it’s an open auction, the method returns the highest available bid for the item or null otherwise. Note that if no other bidders exist, but an ask price is available, the ask price is returned if the auction is open.