|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--edu.dmi.Invoker
Hasan Timucin Ozdemir
Field Summary | |
private boolean |
fIsProcessActive
|
private GenericMessageBroadcaster |
fList
|
private long |
fStartedProcess
|
private boolean |
fStopNow
|
private GenericMessage |
message
|
private boolean |
messageArrived
|
Fields inherited from class java.lang.Thread |
contextClassLoader,
daemon,
eetop,
group,
inheritedAccessControlContext,
MAX_PRIORITY,
MIN_PRIORITY,
name,
NORM_PRIORITY,
priority,
single_step,
stillborn,
stopThreadPermission,
target,
threadInitNumber,
threadQ,
values |
Constructor Summary | |
(package private) |
Invoker(int id,
int pri,
GenericMessageBroadcaster list)
|
Method Summary | |
(package private) void |
checkForTimeout(long curr,
long max)
|
long |
getElapsedProcessTime()
Gets the time since the last callback was started based on the current system time. |
long |
getElapsedProcessTime(long curr)
Sets the time since the last process was started based on the system time passed into the method. |
boolean |
isProcessActive()
Gets whether this invoker is currently executing a callback. |
void |
resetProcessTime()
Resets the elapsed process time to 0. |
void |
run()
|
void |
setGenericMessage(GenericMessage c)
|
void |
timeToStop()
Sets the stop flag which will cause the run() method to terminate after completing current activity |
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
private boolean fStopNow
private long fStartedProcess
private GenericMessageBroadcaster fList
private GenericMessage message
private boolean fIsProcessActive
private boolean messageArrived
Constructor Detail |
Invoker(int id, int pri, GenericMessageBroadcaster list)
Method Detail |
public void run()
public void setGenericMessage(GenericMessage c)
public void timeToStop()
public long getElapsedProcessTime()
public long getElapsedProcessTime(long curr)
public boolean isProcessActive()
public void resetProcessTime()
final void checkForTimeout(long curr, long max)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |