eu.larkc.jactr.core.pluginManager.local
Class LocalSingleResultIdentifyManager

java.lang.Object
  extended by eu.larkc.core.pluginManager.local.LocalPluginManager<Query,Collection<InformationSet>>
      extended by eu.larkc.jactr.core.pluginManager.local.LocalSingleResultIdentifyManager
All Implemented Interfaces:
PluginManager

public class LocalSingleResultIdentifyManager
extends LocalPluginManager<Query,Collection<InformationSet>>

LocalSingleResultIdentifyManager is a LocalPluginManager for Identifier plugins that returns a single result. It will generate a Collection on the output queue for each Query that comes in on the input stream

Author:
Martijn Brakenhoff (based on code by: Mick Kerrigan and Barry Bishop)

Nested Class Summary
 
Nested classes/interfaces inherited from interface eu.larkc.core.pluginManager.PluginManager
PluginManager.Message
 
Constructor Summary
LocalSingleResultIdentifyManager(Identifier identifier, Queue<Query> inputQueue, Queue<Collection<InformationSet>> outputQueue)
          Constructor thats takes the plugin to be manages, the input, and the output queues as input
 
Method Summary
 
Methods inherited from class eu.larkc.core.pluginManager.local.LocalPluginManager
accept, getNextControlMessage, setPrevious, start
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalSingleResultIdentifyManager

public LocalSingleResultIdentifyManager(Identifier identifier,
                                        Queue<Query> inputQueue,
                                        Queue<Collection<InformationSet>> outputQueue)
Constructor thats takes the plugin to be manages, the input, and the output queues as input

Parameters:
identifier - The Identifier plugin to be managed
inputQueue - The queue from which input messages will come from the previous plugin in the pipeline
outputQueue - The queue onto which output messages should be put to send them to the next plugin in the pipeline