public interface IBuyBookService
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IFuture<java.lang.Void> |
acceptProposal(java.lang.String title,
int price)
Buy a book
|
jadex.commons.future.IFuture<java.lang.Integer> |
callForProposal(java.lang.String title)
Ask the seller for a a quote on a book.
|
jadex.commons.future.IFuture<java.lang.Integer> callForProposal(java.lang.String title)
title
- The book title.jadex.commons.future.IFuture<java.lang.Void> acceptProposal(java.lang.String title, int price)
title
- The book title.price
- The price to pay.