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.InfiniteServer
InfiniteServer.InfiniteServerEvent
Entity.PortAlias
Modifier and Type | Field and Description |
---|---|
protected double |
serviceTime |
activePhases, inputPort, occupancy, outputPort
portAliases, ports, simNode
CREATE_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, getOutput
addPort, aliasPort, aliasPort, connect, disconnect, getName, getNode, getPortByName, getPorts, isPortKnown, unaliasPort
public DInfiniteServer(double d, SimNode ownNode)
public static DInfiniteServer createInstance(SimNode ownNode, Parameters pars)
ReflectionConstructable
public void setServiceTime(double serviceTime)
protected double getNextServiceTime()
getNextServiceTime
in class InfiniteServer