com.infoscape.proteus.broker
Class Broker

java.lang.Object
  |
  +--com.infoscape.proteus.broker.Broker

public class Broker
extends java.lang.Object

A Broker is a collection of Routers. A Broker is initialized from a broker specification, which is an xml file containing descriptions of Sources, Sinks, Filters, Mappers and Routers. Once initialized, each Router in the Broker runs as a thread, accepting messages from its Source and routing them to one or more Sinks, possibly applying transformations (via Filters) in the process. Several example broker specifications should be included in the Samples directory that is included in the Proteus distribution.


Constructor Summary
Broker(org.jdom.Document doc)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Broker

public Broker(org.jdom.Document doc)
       throws java.lang.Exception
Parameters:
doc -
Throws:
java.lang.Exception
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Parameters:
args -
Throws:
java.lang.Exception