Großmarkt

market.event
Interface OfferEventListener

All Known Implementing Classes:
SICustomer, SPCustomer

public interface OfferEventListener

Listener interface that enables Objects to listen to offer specific events and react on them.


Method Summary
 void countArticles(String articleKey, SProcessWorker spw)
          Invoked when the global count of an article is needed.
 void offerEmpty(String articleKey)
          Invoked when a shortage of an article occured.
 void wakeUpOrders()
          Invoked when a delivery enters the market.
 

Method Detail

countArticles

public void countArticles(String articleKey,
                          SProcessWorker spw)
Invoked when the global count of an article is needed.

Parameters:
articleKey - the key of the article which count is needed.
spw - the SProcessWorker from which the request came from.

offerEmpty

public void offerEmpty(String articleKey)
Invoked when a shortage of an article occured.

Parameters:
articleKey - the key of the article which is currently unavaible.

wakeUpOrders

public void wakeUpOrders()
Invoked when a delivery enters the market.


Großmarkt