public class CalculateAgent extends MicroAgent
MicroAgent.ExecuteWaitForStep| Constructor and Description |
|---|
CalculateAgent() |
| Modifier and Type | Method and Description |
|---|---|
IFuture<Void> |
executeBody()
Execute the body.
|
int |
getProgress()
Get the current progress.
|
Object |
getTaskId()
Get the current task id.
|
boolean |
isHadJob()
Get the hadjob.
|
void |
setHadJob(boolean hadjob)
Set the hadjob.
|
void |
setProgress(int progress)
Set the current progress.
|
void |
setTaskId(Object taskid)
Set the current task id.
|
addComponentListener, addMessageHandler, addService, addService, agentCreated, agentKilled, createReply, createResultListener, createResultListener, createServiceContainer, getAgentAdapter, getAgentName, getArgument, getArguments, getChildrenAccesses, getChildrenIdentifiers, getClassLoader, getComponentAdapter, getComponentDescription, getComponentIdentifier, getConfiguration, getExternalAccess, getFetcher, getInterpreter, getLogger, getModel, getParentAccess, getProperty, getRawService, getRawService, getRawServices, getRequiredService, getRequiredServices, getResults, getServiceContainer, getServiceProvider, getTime, init, isAtBreakpoint, isComponentThread, killAgent, killComponent, messageArrived, removeComponentListener, removeMessageHandler, removeService, scheduleStep, sendMessage, sendMessage, sendMessageAndWait, setResultValue, streamArrived, waitFor, waitForDelay, waitForTickpublic IFuture<Void> executeBody()
executeBody in interface IMicroAgentexecuteBody in class MicroAgentpublic void setHadJob(boolean hadjob)
hadjob - The hadjob to set.public boolean isHadJob()
public Object getTaskId()
public void setTaskId(Object taskid)
public int getProgress()
public void setProgress(int progress)
Copyright © 2012. All Rights Reserved.