public interface ConsoleConnection
Warning: This API is under development and not stable. It will change.
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the connection.
|
int |
getNumberOfAgents()
How many agents are connected?
|
void |
resetRecording()
Reset the console recording.
|
void |
resetWorkerProcesses()
Reset all the worker processes.
|
void |
startRecording()
Start the console recording.
|
void |
startWorkerProcesses(GrinderProperties properties)
Start all the worker processes.
|
void |
stopAgents()
Stop all agent processes.
|
void |
stopRecording()
Stop the console recording.
|
void close()
void startRecording() throws ConsoleConnectionException
ConsoleConnectionException
- If a communication error occurred.void stopRecording() throws ConsoleConnectionException
ConsoleConnectionException
- If a communication error occurred.void resetRecording() throws ConsoleConnectionException
ConsoleConnectionException
- If a communication error occurred.int getNumberOfAgents() throws ConsoleConnectionException
ConsoleConnectionException
- If a communication error occurred.void stopAgents() throws ConsoleConnectionException
ConsoleConnectionException
- If a communication error occurred.void startWorkerProcesses(GrinderProperties properties) throws ConsoleConnectionException
properties
- Properties that override the agents' local properties.ConsoleConnectionException
- If a communication error occurred.void resetWorkerProcesses() throws ConsoleConnectionException
ConsoleConnectionException
- If a communication error occurred.Copyright © 2000-2014. All Rights Reserved.