|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.commons.service.BasicService
jadex.micro.examples.mandelbrot.GenerateService
public class GenerateService
Generate service implementation.
| Field Summary | |
|---|---|
protected GenerateAgent |
agent
The agent. |
protected GeneratePanel |
panel
The generate panel. |
| Fields inherited from class jadex.commons.service.BasicService |
|---|
idcnt, properties, shutdowned, sid, started, startfutures |
| Fields inherited from interface jadex.commons.service.IService |
|---|
EMPTY_SERVICES |
| Constructor Summary | |
|---|---|
GenerateService(GenerateAgent agent,
GeneratePanel panel)
Create a new service. |
|
| Method Summary | |
|---|---|
protected void |
distributeWork(AreaData data,
Collection sers,
IDisplayService ds,
Future ret)
Distribute the work to different worker services. |
IFuture |
generateArea(AreaData data)
Generate a specific area using a defined x and y size. |
protected static IFuture |
getCalculateServices(GenerateAgent agent,
int par)
Get (and create) the calculate services. |
| Methods inherited from class jadex.commons.service.BasicService |
|---|
createServiceIdentifier, generateServiceName, getPropertyMap, getServiceIdentifier, isValid, setPropertyMap, shutdownService, signalStarted, startService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jadex.commons.service.IService |
|---|
getPropertyMap, getServiceIdentifier, signalStarted |
| Field Detail |
|---|
protected GenerateAgent agent
protected GeneratePanel panel
| Constructor Detail |
|---|
public GenerateService(GenerateAgent agent,
GeneratePanel panel)
| Method Detail |
|---|
public IFuture generateArea(AreaData data)
generateArea in interface IGenerateService
protected static IFuture getCalculateServices(GenerateAgent agent,
int par)
protected void distributeWork(AreaData data,
Collection sers,
IDisplayService ds,
Future ret)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||