jadex.micro.examples.mandelbrot
Class ProgressService
java.lang.Object
jadex.commons.service.BasicService
jadex.micro.examples.mandelbrot.ProgressService
- All Implemented Interfaces:
- IRemotable, IInternalService, IService, IProgressService
public class ProgressService
- extends BasicService
- implements IProgressService
Progress service implementation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
agent
protected CalculateAgent agent
- The agent.
ProgressService
public ProgressService(CalculateAgent agent)
- Create a new service.
getProgress
public IFuture getProgress(Object taskid)
- Get the progress (percentage as integer) of a given task.
- Specified by:
getProgress in interface IProgressService
- Parameters:
taskid - The id of the task.
- Returns:
- A future object holding the progress as a percentage integer value.
Copyright © 2010. All Rights Reserved.