com.hammurapi.eventbus.tests.fastfood
Class OrderFulfiller

Show UML class diagram
java.lang.Object
  extended by com.hammurapi.eventbus.tests.fastfood.OrderFulfiller

public class OrderFulfiller
extends Object

Handler which fulfills orders.


Constructor Summary
OrderFulfiller()
           
 
Method Summary
 Collection<Order> getFulfilledOrders()
           
 boolean isOK()
           
 void matchMainDish(LocalEventDispatchJoinContext<Object,Integer,Object> ctx, Order order, MainDish mainDish)
           
 void matchSideDish(LocalEventDispatchJoinContext<Object,Integer,Object> ctx, Order order, SideDish sideDish)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderFulfiller

public OrderFulfiller()
Method Detail

matchMainDish

public void matchMainDish(LocalEventDispatchJoinContext<Object,Integer,Object> ctx,
                          Order order,
                          MainDish mainDish)

matchSideDish

public void matchSideDish(LocalEventDispatchJoinContext<Object,Integer,Object> ctx,
                          Order order,
                          SideDish sideDish)

isOK

public boolean isOK()

getFulfilledOrders

public Collection<Order> getFulfilledOrders()