|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.zcu.fav.kiv.jsim.JSimHead
vsp.QueueWithServer
public class QueueWithServer
Queue with assigned server
Field Summary | |
---|---|
private JSimProcess |
server
Assigned server |
Fields inherited from class cz.zcu.fav.kiv.jsim.JSimHead |
---|
lastChange, myParent, noOfItemsRemoved, sumLwUntilLastChange, sumTwRemoved |
Constructor Summary | |
---|---|
QueueWithServer(String name,
JSimSimulation simulation)
Creates new queue without server definition |
|
QueueWithServer(String name,
JSimSimulation simulation,
JSimProcess server)
Creates new queue with defined server |
Method Summary | |
---|---|
JSimProcess |
getServer()
Get server |
void |
setServer(JSimProcess server)
Set server |
Methods inherited from class cz.zcu.fav.kiv.jsim.JSimHead |
---|
cardinal, clear, compareTo, createDetailedInfoWindow, decNoOfItems, empty, equals, first, getCurrentTime, getDetailedInformationArray, getFirstData, getFirstDataType, getHead, getHeadName, getHeadNumber, getLastData, getLastDataType, getLw, getObjectListItemDescription, getParent, getTail, getTw, getTwForAllLinks, hashCode, incNoOfItems, last, putAtHead, putAtTail, setHead, setTail, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private JSimProcess server
Constructor Detail |
---|
public QueueWithServer(String name, JSimSimulation simulation, JSimProcess server) throws JSimInvalidParametersException, JSimTooManyHeadsException
name
- name of queuesimulation
- simulation objectserver
- assigned server
JSimInvalidParametersException
JSimTooManyHeadsException
public QueueWithServer(String name, JSimSimulation simulation) throws JSimInvalidParametersException, JSimTooManyHeadsException
name
- name of queuesimulation
- simulation object
JSimInvalidParametersException
JSimTooManyHeadsException
Method Detail |
---|
public JSimProcess getServer()
public void setServer(JSimProcess server)
server
- the server to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |