org.drools.examples.broker
Class Broker

java.lang.Object
  extended by org.drools.examples.broker.Broker
All Implemented Interfaces:
BrokerServices, EventReceiver

public class Broker
extends Object
implements EventReceiver, BrokerServices

The broker application


Constructor Summary
Broker(BrokerWindow window, CompanyRegistry companies)
           
 
Method Summary
 void log(String message)
           
 void receive(Event<?> event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Broker

public Broker(BrokerWindow window,
              CompanyRegistry companies)
Method Detail

receive

public void receive(Event<?> event)
Specified by:
receive in interface EventReceiver

log

public void log(String message)
Specified by:
log in interface BrokerServices


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.