org.embl.ebi.escience.scuflworkers.inferno
Class InfernoProcessor

java.lang.Object
  extended by org.embl.ebi.escience.scufl.Processor
      extended by org.embl.ebi.escience.scuflworkers.inferno.InfernoProcessor
All Implemented Interfaces:
java.io.Serializable, IProcessor

public class InfernoProcessor
extends Processor

Processor corresponding to a single instance of an SGS based streaming service.

Author:
Tom Oinn
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.embl.ebi.escience.scufl.IProcessor
ENACTOR
 
Constructor Summary
InfernoProcessor(ScuflModel theModel, java.lang.String processorName, java.lang.String host, int port, java.lang.String service)
           
 
Method Summary
 java.lang.String getHost()
           
 int getPort()
           
 java.util.Properties getProperties()
          Return a properties object containing the processor specific properties for this processor type instance.
 java.lang.String getResourceHost()
          If meaningful, obtain the host that the resource is based in.
 java.lang.String getService()
           
 
Methods inherited from class org.embl.ebi.escience.scufl.Processor
addAlternate, addAnnotationTemplate, addBreakpoint, addPort, defaultAnnotationTemplates, fireModelEvent, getAlternatesArray, getAlternatesList, getAnnotationTemplates, getBackoff, getBoundInputPorts, getBoundOutputPorts, getCritical, getDefaultWorkers, getDescription, getInputPorts, getIterationStrategy, getLogLevel, getMaximumWorkers, getModel, getName, getOutputPorts, getPorts, getRealLogLevel, getRetries, getRetryDelay, getTimeout, getWorkers, hasBreakpoint, isBoring, isOffline, locatePort, locatePort, removeAlternate, removeAnnotationTemplate, removePort, rmvBreakpoint, setBackoff, setBoring, setCritical, setDescription, setIterationStrategy, setLogLevel, setName, setOffline, setOnline, setRetries, setRetryDelay, setTimeout, setWorkers, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InfernoProcessor

public InfernoProcessor(ScuflModel theModel,
                        java.lang.String processorName,
                        java.lang.String host,
                        int port,
                        java.lang.String service)
                 throws ProcessorCreationException,
                        DuplicateProcessorNameException
Throws:
ProcessorCreationException
DuplicateProcessorNameException
Method Detail

getHost

public java.lang.String getHost()

getService

public java.lang.String getService()

getPort

public int getPort()

getResourceHost

public java.lang.String getResourceHost()
Description copied from class: Processor
If meaningful, obtain the host that the resource is based in. Of course, not all processor implementations are service based so this may return the string Processor.ENACTOR instead to represent this, and this is the default.

Specified by:
getResourceHost in interface IProcessor
Overrides:
getResourceHost in class Processor

getProperties

public java.util.Properties getProperties()
Description copied from class: Processor
Return a properties object containing the processor specific properties for this processor type instance. This is used by the user interface code to display additional properties for each processor and should be implemented by the subclasses to display useful information.

Specified by:
getProperties in interface IProcessor
Specified by:
getProperties in class Processor
Returns:
a Properties instance containing all processor-specific properties, or optinally null if there are none