|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbus.AbstractTool.JobQueue
private class AbstractTool.JobQueue
This job queue holds all the jobs that are send from a single source.
Field Summary | |
---|---|
private AbstractTool.Job |
current
|
private java.util.List<AbstractTool.Job> |
jobs
|
Constructor Summary | |
---|---|
AbstractTool.JobQueue()
Default constructor. |
Method Summary | |
---|---|
void |
ackEvent()
Acknowledges the last event that was send from the source this queue is associated with. |
private void |
acknowledge()
Notifies the thread local queue of the acknowledgement and executes the next queued job (if present). |
AbstractTool.Job |
getNext()
Returns the next job in the queue. |
void |
post(AbstractTool.Job job)
Schedules the given job for transmission to the ToolBus. |
void |
recResponse(aterm.ATermAppl response)
Acknowledges the last request that was send from the source this queue is associated with. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.util.List<AbstractTool.Job> jobs
private AbstractTool.Job current
Constructor Detail |
---|
public AbstractTool.JobQueue()
Method Detail |
---|
public void post(AbstractTool.Job job)
job
- A container that hold the details about the request.public AbstractTool.Job getNext()
private void acknowledge()
public void ackEvent()
public void recResponse(aterm.ATermAppl response)
response
- The response.
|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |