public class FileOutput extends Object implements IAgentOutput
| Constructor and Description |
|---|
FileOutput(AgentConfigs agentConfigs) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeSpectrum(ISpectrum spectrum)
Write a spectrum instance to a location determined by the agent controller.
|
void |
writeTransaction(Transaction transaction)
Write a transaction instance to a location determined by the agent controller.
|
public FileOutput(AgentConfigs agentConfigs)
public void writeSpectrum(ISpectrum spectrum) throws Exception
writeSpectrum in interface IAgentOutputspectrum - a ISpectrum objectException - in case writing failspublic void writeTransaction(Transaction transaction) throws IOException
writeTransaction in interface IAgentOutputtransaction - a Transaction objectIOException - in case writing failsCopyright © 2010–2019 GZoltar. All rights reserved.