jadex.micro.examples.mandelbrot
Class DisplayService
java.lang.Object
jadex.commons.service.BasicService
jadex.micro.examples.mandelbrot.DisplayService
- All Implemented Interfaces:
- IRemotable, IInternalService, IService, IDisplayService
public class DisplayService
- extends BasicService
- implements IDisplayService
The service allows displaying results in the frame
managed by the service providing agent.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
agent
protected DisplayAgent agent
- The agent.
DisplayService
public DisplayService(DisplayAgent agent)
- Create a new display service.
displayResult
public IFuture displayResult(AreaData result)
- Display the result of a calculation.
- Specified by:
displayResult in interface IDisplayService
displayIntermediateResult
public IFuture displayIntermediateResult(ProgressData progress)
- Display intermediate calculation results.
- Specified by:
displayIntermediateResult in interface IDisplayService
Copyright © 2010. All Rights Reserved.