public class DInfiniteServer extends InfiniteServer
DInfiniteServer is a standard infinite server component with a
constant service time that can be specified in the constructor. It can be
used to model delays of all kinds.InfiniteServerInfiniteServer.InfiniteServerEventEntity.PortAlias| Modifier and Type | Field and Description |
|---|---|
protected double |
serviceTime |
activePhases, inputPort, occupancy, outputPortportAliases, ports, simNodeCREATE_INSTANCE_METHOD_NAME| Constructor and Description |
|---|
DInfiniteServer(double d,
SimNode ownNode) |
| Modifier and Type | Method and Description |
|---|---|
static DInfiniteServer |
createInstance(SimNode ownNode,
Parameters pars)
as required by
ReflectionConstructable |
protected double |
getNextServiceTime() |
void |
setServiceTime(double serviceTime) |
getInput, getOutputaddPort, aliasPort, aliasPort, connect, disconnect, getName, getNode, getPortByName, getPorts, isPortKnown, unaliasPortpublic DInfiniteServer(double d,
SimNode ownNode)
public static DInfiniteServer createInstance(SimNode ownNode, Parameters pars)
ReflectionConstructablepublic void setServiceTime(double serviceTime)
protected double getNextServiceTime()
getNextServiceTime in class InfiniteServer