Class RemoteResultImpl
-
- All Implemented Interfaces:
-
it.unibo.alchemist.boundary.grid.simulation.RemoteResult
public final class RemoteResultImpl implements RemoteResult
RemoteResult implementation.
-
-
Constructor Summary
Constructors Constructor Description RemoteResultImpl(String result, UUID workerNode, Optional<Throwable> simulationErrors, SimulationConfig config)
-
Method Summary
Modifier and Type Method Description void
saveLocally(String targetFile)
Save simulation's result in a local file. int
hashCode()
boolean
equals(Object obj)
-
-
Constructor Detail
-
RemoteResultImpl
RemoteResultImpl(String result, UUID workerNode, Optional<Throwable> simulationErrors, SimulationConfig config)
- Parameters:
result
- Result file's content as stringworkerNode
- UUID of worker node that has done the simulationsimulationErrors
- Simulation's errorsconfig
- Simulation's specific config
-
-
Method Detail
-
saveLocally
void saveLocally(String targetFile)
Save simulation's result in a local file.
- Parameters:
targetFile
- Local file
-
hashCode
int hashCode()
-
-
-
-