|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbus.adapter.ToolBridge.JobQueue
private class ToolBridge.JobQueue
This job queue holds all the jobs that are send from a single source.
Field Summary | |
---|---|
private ToolBridge.Job |
current
|
private java.util.List<ToolBridge.Job> |
jobs
|
Constructor Summary | |
---|---|
ToolBridge.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). |
ToolBridge.Job |
getNext()
Returns the next job in the queue. |
void |
post(ToolBridge.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<ToolBridge.Job> jobs
private ToolBridge.Job current
Constructor Detail |
---|
public ToolBridge.JobQueue()
Method Detail |
---|
public void post(ToolBridge.Job job)
job
- A container that hold the details about the request.public ToolBridge.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 |