Package jadex.micro.examples.mandelbrot
Class GenerateService
- java.lang.Object
- 
- jadex.micro.examples.mandelbrot.GenerateService
 
- 
- All Implemented Interfaces:
- IGenerateService
 
 public class GenerateService extends java.lang.Object implements IGenerateService Generate service implementation.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IInternalAccessagentThe agent.static IFractalAlgorithm[]ALGORITHMSThe available algorithms.protected ServicePoolManagermanagerThe service pool manager for calculation services.protected GeneratePanelpanelThe generate panel.
 - 
Constructor SummaryConstructors Constructor Description GenerateService()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IFuture<AreaData>distributeWork(AreaData data)Distribute the work to available or newly created calculation services.IFuture<AreaData>generateArea(AreaData data)Generate a specific area using a defined x and y size.IFuture<java.lang.Void>shutdown()Stop the service.voidstart()Create a new service.
 
- 
- 
- 
Field Detail- 
ALGORITHMSpublic static IFractalAlgorithm[] ALGORITHMS The available algorithms.
 - 
agentprotected IInternalAccess agent The agent.
 - 
panelprotected GeneratePanel panel The generate panel.
 - 
managerprotected ServicePoolManager manager The service pool manager for calculation services.
 
- 
 - 
Method Detail- 
startpublic void start() Create a new service.
 - 
shutdownpublic IFuture<java.lang.Void> shutdown() Stop the service.
 - 
generateAreapublic IFuture<AreaData> generateArea(AreaData data) Generate a specific area using a defined x and y size.- Specified by:
- generateAreain interface- IGenerateService
 
 
- 
 
-