net.sf.pipet.test
Class SimulationModuleData

java.lang.Object
  extended by net.sf.pipet.test.SimulationModuleData
All Implemented Interfaces:
ModuleData, ResourceLoader

public class SimulationModuleData
extends Object
implements ModuleData


Constructor Summary
SimulationModuleData(ModuleAttributes atts, Map<String,byte[]> input, Map<String,byte[]> output, net.sf.qxs.messenger.Messenger msgr)
           
 
Method Summary
 void close(boolean status)
           
 ModuleAttributes getAttributes()
           
 Map<String,? extends Collection<? extends InputStream>> getInputPipes()
           
 Map<String,? extends OutputStream> getOutputPipes()
           
 InputStream getResource(String spec)
           
 URL getResourceURL(String spec)
           
 boolean getStatus()
           
 int getUniqueId()
           
 void testModuleOutput()
           
 boolean waitForPipeline(boolean status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulationModuleData

public SimulationModuleData(ModuleAttributes atts,
                            Map<String,byte[]> input,
                            Map<String,byte[]> output,
                            net.sf.qxs.messenger.Messenger msgr)
Method Detail

getStatus

public boolean getStatus()

testModuleOutput

public void testModuleOutput()

close

public void close(boolean status)
Specified by:
close in interface ModuleData

getAttributes

public ModuleAttributes getAttributes()
Specified by:
getAttributes in interface ModuleData

getInputPipes

public Map<String,? extends Collection<? extends InputStream>> getInputPipes()
Specified by:
getInputPipes in interface ModuleData

getOutputPipes

public Map<String,? extends OutputStream> getOutputPipes()
Specified by:
getOutputPipes in interface ModuleData

getUniqueId

public int getUniqueId()
Specified by:
getUniqueId in interface ModuleData

waitForPipeline

public boolean waitForPipeline(boolean status)
Specified by:
waitForPipeline in interface ModuleData

getResource

public InputStream getResource(String spec)
                        throws IOException
Specified by:
getResource in interface ResourceLoader
Throws:
IOException

getResourceURL

public URL getResourceURL(String spec)
                   throws IOException
Specified by:
getResourceURL in interface ResourceLoader
Throws:
IOException


Copyright © 2011 VU University Amsterdam. All Rights Reserved.