|
||||||||||
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
Server
Field Summary | |
DistributedSimulation |
simulation
|
Fields inherited from class cz.zcu.fav.kiv.jsim.JSimProcess |
INT_REQUESTS_TO_IGNORE, myParent, STATE_ACTIVE, STATE_NEW, STATE_PASSIVE, STATE_SCHEDULED, STATE_TERMINATED |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
Server(java.lang.String name,
DistributedSimulation sim,
double parMu,
double parP,
QueueWithServer parQueueIn,
QueueWithServer parQueueOut,
ClientData parData)
Use this Constructor for distributed simulation but not for output point |
|
Server(java.lang.String name,
DistributedSimulation sim,
double parMu,
double parP,
QueueWithServer parQueueIn,
QueueWithServer parQueueOut,
ClientData parData,
java.lang.String parReceiverName,
int parGateNumber)
Constructor for distributed simulation for point where you can store events to output queue |
Method Summary | |
int |
getCounter()
|
double |
getTransTq()
|
protected void |
life()
|
void |
restore(cz.zcu.fav.kiv.jsim.JSimProcess ParProcess)
This method is call vhen undo operation is comin and restore all values from time when simulation was in stable state please don't call it direct |
Methods inherited from class cz.zcu.fav.kiv.jsim.JSimProcess |
activate, cancel, compareTo, createDetailedInfoWindow, equals, error, getDetailedInformationArray, getNumber, getObjectListItemDescription, getPrivateLock, getScheduleTime, getState, getStateAsString, getStateAsString, hasBeenStarted, hashCode, hold, isIdle, message, messageNoNL, passivate, reactivate, run, start, toString |
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 |
Field Detail |
public DistributedSimulation simulation
Constructor Detail |
public Server(java.lang.String name, DistributedSimulation sim, double parMu, double parP, QueueWithServer parQueueIn, QueueWithServer parQueueOut, ClientData parData) throws cz.zcu.fav.kiv.jsim.JSimSimulationAlreadyTerminatedException, cz.zcu.fav.kiv.jsim.JSimInvalidParametersException, cz.zcu.fav.kiv.jsim.JSimTooManyProcessesException
public Server(java.lang.String name, DistributedSimulation sim, double parMu, double parP, QueueWithServer parQueueIn, QueueWithServer parQueueOut, ClientData parData, java.lang.String parReceiverName, int parGateNumber) 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 int getCounter()
public void restore(cz.zcu.fav.kiv.jsim.JSimProcess ParProcess)
public double getTransTq()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |