Interface IAgentOutput
- All Known Implementing Classes:
FileOutput
,NoneOutput
,TcpClientOutput
,TcpServerOutput
public interface IAgentOutput
Common interface for different implementations that outputs execution data
dumps.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
shutdown()
Shutdown the agent controller and clean up any resources it has created.void
startup
(AgentOptions options, RuntimeData data) Configure the agent controller with the supplied options and connect it to the coverage runtimevoid
writeExecutionData
(boolean reset) Write all execution data in the runtime to a location determined by the agent controller.
-
Method Details
-
startup
Configure the agent controller with the supplied options and connect it to the coverage runtime- Parameters:
options
- Options used to configure the agent controllerdata
- Execution data for this agent- Throws:
Exception
- in case startup fails
-
shutdown
Shutdown the agent controller and clean up any resources it has created.- Throws:
Exception
- in case shutdown fails
-
writeExecutionData
Write all execution data in the runtime to a location determined by the agent controller. This method should only be called by the Agent- Parameters:
reset
- iftrue
execution data is cleared afterwards- Throws:
IOException
- in case writing fails
-