|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
cz.zcu.fav.kiv.jsim.JSimProcess
cz.zcu.fav.kiv.cs.CSProcess.Shadow
This nested class extends JSimProcess and represents this CSProcess in the J-Sim.
| Field Summary |
| Fields inherited from class cz.zcu.fav.kiv.jsim.JSimProcess |
INT_REQUESTS_TO_IGNORE, myParent, semaphoreIAmCurrentlyBlockedOn, STATE_ACTIVE, STATE_BLOCKEDONSEMAPHORE, STATE_NEW, STATE_PASSIVE, STATE_SCHEDULED, STATE_TERMINATED |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
CSProcess.Shadow(java.lang.String name,
CSSimulation parent)
|
|
| Method Summary | |
boolean |
haveIstarted()
|
void |
holdMe(double howLong)
|
protected void |
life()
Calls method csLife, which should user of CSProcess overwrite. |
void |
passivateMe()
|
| Methods inherited from class cz.zcu.fav.kiv.jsim.JSimProcess |
activate, blockOnSemaphore, cancel, compareTo, createDetailedInfoWindow, equals, error, getDetailedInformationArray, getNumber, getObjectListItemDescription, getParent, getPrivateLock, getScheduleTime, getState, getStateAsString, getStateAsString, hasBeenStarted, hashCode, hold, isIdle, message, messageNoNL, passivate, reactivate, run, start, toString, unblockFromSemaphore |
| Methods inherited from class java.lang.Thread |
activeCount, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, checkAccess, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, stop, stop, suspend, yield |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CSProcess.Shadow(java.lang.String name,
CSSimulation parent)
throws cz.zcu.fav.kiv.jsim.JSimSimulationAlreadyTerminatedException,
cz.zcu.fav.kiv.jsim.JSimInvalidParametersException,
cz.zcu.fav.kiv.jsim.JSimTooManyProcessesException
| Method Detail |
protected void life()
public void holdMe(double howLong)
throws cz.zcu.fav.kiv.jsim.JSimSecurityException
cz.zcu.fav.kiv.jsim.JSimSecurityException
public void passivateMe()
throws cz.zcu.fav.kiv.jsim.JSimSecurityException
cz.zcu.fav.kiv.jsim.JSimSecurityExceptionpublic boolean haveIstarted()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||