|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--distrit.testing.Mandarin
Constructor Summary | |
Mandarin()
Creates a new instance of Mandarin |
Method Summary | |
java.lang.Object |
get(java.lang.Object params)
Used to get output from the task |
java.lang.Object |
run(java.lang.Object params)
Totally customizable method say throws InterruptedException? |
void |
set(java.lang.Object paramsAndWhat)
Used to send input to the task |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Mandarin()
Method Detail |
public java.lang.Object get(java.lang.Object params)
get
in interface InteractiveTask
params
- can be null if this task doesn't need to know WHAT it has to outputpublic java.lang.Object run(java.lang.Object params) throws java.lang.InterruptedException
run
in interface Task
distrit.Task
params
- Generic parameters to start the run method with.
The implemented InteractiveTaskClient will always
start the run method with a null parameter so any
configuring of the task must be done previous to
the run method being executed.public void set(java.lang.Object paramsAndWhat)
set
in interface InteractiveTask
paramsAndWhat
- this could be anything, either a single object if the task knows what to do with it, or a packet with variable->value pairs..public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |