de.upb.swtpra05.group03.shuttle
Interface OfferingControlInterface

All Known Implementing Classes:
OfferingControl

public interface OfferingControlInterface

Interface of an offering control.

Version:
$Revision: 1.3 $

Field Summary
static int NO_OFFER
          This offer price indicates an order for which we don't want to offer.
 
Method Summary
 int getMaxOfferCount()
          Returns the max offer count.
 int getOfferCount()
          Returns the current offer count.
 void sendOffer(ExtendedOrder eo)
          Sends an offer to the kernel for given extended order.
 

Field Detail

NO_OFFER

public static final int NO_OFFER
This offer price indicates an order for which we don't want to offer.

See Also:
Constant Field Values
Method Detail

getOfferCount

public int getOfferCount()
Returns the current offer count.

Returns:
the current offer count

getMaxOfferCount

public int getMaxOfferCount()
Returns the max offer count.

Returns:
the max offer count

sendOffer

public void sendOffer(ExtendedOrder eo)
Sends an offer to the kernel for given extended order.

Parameters:
eo - The extended order to send an offer for